[fpc-pascal] Cross compiling from win32 to linux

Adrian Veith adrian at veith-system.de
Tue Apr 11 12:24:38 CEST 2006


I try to crosscompile in win32 to linux with fpc 2.1.1.
I use the options: -Sd -B -Tlinux

The compiler compiles all the sources without problem, but the linker 
reports an errror: unrecognised emulation mode: elf_i386
this is because fpc calls ld instead of i386-linux-ld
when i rename i386-linux-ld to ld, the linker reports another error: 
cannot find -lpthread

where is my fault ?

thanks,

Adrian Veith.
 



More information about the fpc-pascal mailing list