Hello.
How to define the search path of libraries while linking ?
In a FreeBSD 64 multiarch system, fpc32 compiles without problems but at linking there is that message:
/usr/bin/ld: skipping incompatible /usr/lib/crti.o when searching for /usr/lib/crti.o
Of course because /usr/lib/crti.o is 64 bit.
The 32 bit libraries are in /usr/lib32/ and in /usr/local/lib32.
How to tell to *ld* to search in /usr/lib32 + /usr/local/lib32 while linking?
Similar problem on FreeBSD with Linux emulation enabled. fpc-linux (with Linux-units installed) can compile on FreeBSD but at linking there is a "ELF not recognized" message given by *ld*.
Can that be fixed too ?
PS: Absolutely no problem to compile and link using fpc.exe (via wine and with Windows-units installed) on a FreeBSD 64 system.
Thanks.
Fre;D
-----
Many thanks ;-)
