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.

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to