Hi, I have the cross compiler setup(win32 to linux) and I can compile most of my apps just fine except for one that is a daemon and uses cthreads and cmem in the uses.
It does not give any errors except for linker error and if I change the verbosity to show all it still does not show anything meaningful. The app won't run on Ubuntu server unless I have cthreads in the uses, otherwise it gives a mutex error about two many threads. Here is the linker errors: Linking project1 Searching file C:\lib\crtend.o... not found Searching file C:\Users\20659\Documents\Lazarus Projects\i386-linux-gnu\crtend.o... not found Searching file C:\Users\20659\Documents\Lazarus Projects\usr\lib\i386-linux-gnu\crtend.o... not found Searching file C:\Users\20659\vbox_share\4.6\crtend.o... found Searching file C:\lib\crtn.o... not found Searching file C:\Users\20659\Documents\Lazarus Projects\i386-linux-gnu\crtn.o... not found Searching file C:\Users\20659\Documents\Lazarus Projects\usr\lib\i386-linux-gnu\crtn.o... found Searching file c:\codetyphon\fpc\bin\i386-linux\i386-linux-ld.exe... not found Searching file C:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe... found Using util C:\codetyphon\fpc\bin\i386-win32\i386-linux-ld.exe project1.lpr(16,1) Error: Error while linking project1.lpr(16,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: C:\codetyphon\fpc\bin\i386-win32\ppc386.exe returned an error exitcode Anyone have any ideas on how I can get this working? I have all the libpthread shared objects copied over to the windows system. Thanks
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal