[fpc-pascal]paths in cross-compiling
Adam Naumowicz
adamn at math.uwb.edu.pl
Thu Nov 6 23:46:18 CET 2003
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?
Thanks in advance,
Adam Naumowicz
======================================================================
Department of Applied Logic fax. +48 (85) 745-7662
Institute of Computer Science tel. +48 (85) 745-7559 (office)
University of Bialystok e-mail: adamn at mizar.org
Sosnowa 64, 15-887 Bialystok, Poland http://math.uwb.edu.pl/~adamn/
======================================================================
More information about the fpc-pascal
mailing list