[fpc-pascal]paths in cross-compiling
george at visp.com.au
Fri Nov 7 00:14:23 CET 2003
On Thu, 6 Nov 2003 23:46:18 +0100 (CET)
Adam Naumowicz <adamn at math.uwb.edu.pl> wrote:
> Is there a way to strictly define the paths where FPC looks for
> objects and libraries?
> AFAIK -Fl can only add a new value, not override the old one. I'm
> trying to compile with solaris target on a linux machine, so I need to
> tell FPC to use solaris libc.a, crti.o, and crtn.o instead of those
> from linux. But the produced link.res file always has
> at the begining. Only when I remove them by hand and provide a proper
> path for crti.o and crtn.o does the linker produce a good solaris
> executable. Can it be done in a less nasty way?
This might be a nasty hack but have you tried putting in the new path
right at the top of the link.res file.
More information about the fpc-pascal