Win32 -> Lin32 cross compilation linker error lazarus / 8-Other ---------------------------------------------------------------------- Leledumbo · 2010-03-01 10:53 I'm trying to cross compile from Win32 to Lin32, and I've got the prerequisites: i386-linux-ld cross linkerrequired libs are copied from my Lin32 (I got the list from generated link.res) and the path where I put it has been added to -FlLCL and 3rd party components compiled for Lin32 and gtk2 widgetsetproject target OS set to linuxCompilation goes well, but I got linker error in the end: QuoteC:\fpc\bin\i386-win32\i386-linux-ld.exe: cannot find /lib/libpthread.so.0 well I don't see anywhere in the linker script a hardcoded path, so where the hell does this error come from? ---------------------------------------------------------------------- marcov · 2010-03-01 21:52 Use -Xd and read the buildfaq. ---------------------------------------------------------------------- Leledumbo · 2010-03-04 07:13 Done, but still the same result. I've even given -Xr as well, but still, no improvements. The buildfaq only states this in -Xd, so I'm lost.