On Thu, 6 Nov 2003 23:46:18 +0100 (CET) Adam Naumowicz <[EMAIL PROTECTED]> wrote:
> Hello, > > 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 > SEARCH_DIR(/usr/) > SEARCH_DIR(/usr/lib/) > 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? > Adam, This might be a nasty hack but have you tried putting in the new path right at the top of the link.res file. George Patterson _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal