On 20 Dec 2005, at 22:22, Koenraad Lelong wrote:
I'm trying to compile the graph-examples for arm. fpctris compiles,
but the linking fails, it seems to find the wrong crti.o file. I
added -Fl/path_to_good_file with no luck, and -Xr/
path_to_good_file, with the same result. If I add -vt I see that a
huge number of paths are searched for files, only for crti.o (and
later on crtn.o) only two paths are searched : /lib and /usr/lib.
Can someone please point me at what I'm missing here ?
Add -Xd. From the compiler help page:
-Xd don't use standard library search path (needed for
cross compile)
P.S. some other files (e.g. gravwars) don't even compile for
i386 : /usr/bin/ld: cannot find -lvga.
http://www.freepascal.org/faq.html#vgamissing
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal