Jonas Maebe wrote:
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
Two times overlooked, sorry. I'm a little bit frustrated because almost
all demoes I try fail to compile (for i386 for starters). Now that I
installed vgalib (had to find a source and compile and install that plus
it's devel-counterparts) I think I need to install much more devel-packages.
Anyway, many thanks,
Koenraad.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal