[fpc-devel] Getting fpc to work on Solaris (11)

Joost van der Sluis joost at cnoc.nl
Mon Jul 11 18:44:40 CEST 2011


On Mon, 2011-07-11 at 18:29 +0200, Ludo Brands wrote:
> 
> > 
> > If you add --verbose it'll print out the internal ld script. 
> > See what line 21 corresponds with.
> > 
> >  
> 
> I've attached the internal script for the gnu ld 2.21.1 on Solaris 10. 
> Try 
> /usr/bin/gld -s -L. -o test -T ld_internal_script link.res

At first it did not work. I've edited the file, changed the
output-format in the script from 'elf32-i386-sol2' to 'elf32-i386' and
now it works.

I'll use this script for now, thanks for the help. But I still wonder
why it doesn't work by default...

Joost.




More information about the fpc-devel mailing list