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

Joost van der Sluis joost at cnoc.nl
Mon Jul 11 22:12:33 CEST 2011


On Mon, 2011-07-11 at 19:59 +0000, Mark Morgan Lloyd wrote:
> Joost van der Sluis wrote:
> > 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...
> 
> Can't find any reference to a -sol2 suffix even looking at (SPARC) 
> Solaris 8. For that matter I can't find it in the FPC sources, except 
> very obtusely referring to a version of gcc. Has install put something 
> suspect in fpc.cfg?

It was in the linker-script that Ludo Brands send to this list.

Joost




More information about the fpc-devel mailing list