Re: RE : [fpc-devel] Gnu ld on Solaris

2011-07-15 Thread Mark Morgan Lloyd
Ludo Brands wrote: FPC (in svn trunk) already supports using the native Solaris ld by using the -Xn parameter. It doesn't appear to be documented yet though. 2.4.4 works also with -Xn Thanks for that Ludo, I'm currently trying to get all systems here onto 2.4.4 as the stable version befor

RE : [fpc-devel] Gnu ld on Solaris

2011-07-15 Thread Ludo Brands
> > FPC (in svn trunk) already supports using the native Solaris > ld by using the -Xn parameter. It doesn't appear to be > documented yet though. > 2.4.4 works also with -Xn Ludo ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lis

RE : [fpc-devel] Gnu ld on Solaris

2011-07-15 Thread Ludo Brands
> FPC (in svn trunk) already supports using the native Solaris > ld by using the -Xn parameter. It doesn't appear to be > documented yet though. > > Just found that out from t_sunos.pas (cs_link_native in init_settings.globalswitches)... Ludo ___

Re: [fpc-devel] Gnu ld on Solaris

2011-07-15 Thread Jonas Maebe
On 15 Jul 2011, at 11:01, Ludo Brands wrote: > progress and far from stable. Since gcc is happily using solaris ld, I guess > the pressure to move on is low. So, I'm looking into modifying t_sunos.pas > to use solaris ld. When converting link.res to something ld understood I > have encoutered a f

[fpc-devel] Gnu ld on Solaris

2011-07-15 Thread Ludo Brands
A while ago I reported the problems encountered with glib and libc when using lazarus on Solaris. Further testing shows that the problem isn't with glib and libc but gld creating apparently a non solaris ABI compatible program. In an fpc program linked with gld a libc malloc will always return a nu