On Mon, 2011-07-11 at 16:47 +0200, Ludo Brands wrote: > > > You need to get the gnu binutils from sunfreeware.com and set your > > > path to include /usr/local/bin. > > > > I have them installed. (Well, using 'pkg install > > gnu-binutils') Or else gld wouldn't be available at all. And > > there is no '/usr/local/bin'? > > > > Do you think I can better try the binutils at the sunfreeware website? > > > > I replied a little bit too quick. You're using solaris 11 and > sunfreeware.com supports up to solaris 10. > > When you write "When I use -T", I guess that is -st ? What command line did > you use to link with link.res?
Application name is test. (It's a hello world) /usr/bin/gld -s -L. -o test link.res result: /usr/bin/gld:built in linker script:21: syntax error When I use this: (-T, not -st) /usr/bin/gld -s -L. -o test -T link.res result: link succeed, but running: ./test test: Bad entry point Killed Joost. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
