Combuster wrote:
Quote:
ar
Start with actually using the cross-compiler, thank you.
The archiver is a part of cross compiled binaries. Literally, it should be able to archive the cross compiled object files.
iansjack wrote:
What is the exact command you are using for the link?
ld -T xxx.ld -o xxx xx1.o xx2.o xx3.o xxx.o --library=static
Anyway, I fixed the problem by specifying library search path using -L switch to ld. I assumed that the default search path would be the current directory. Nevertheless, it is strange that neither ld nor gcc complains on missing library even if it is unable to find the library file I'm specifying.
Still, thank you for your responses.