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

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Mon Jul 11 21:59:17 CEST 2011


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?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list