I try to crossbuild a simple program from win64 to linux, but I keep having this error:
Compile Project, Mode: Release, OS: linux, Target: C:\share\programs\qrcode\main: Exit code 1, Errors: 1, Warnings: 4
main.ppr(28,1) Warning: "crti.o" not found, this will probably cause a linking failure
main.ppr(28,1) Warning: "crtbeginS.o" not found, this will probably cause a linking failure
main.ppr(28,1) Warning: "crtendS.o" not found, this will probably cause a linking failure
main.ppr(28,1) Warning: "crtn.o" not found, this will probably cause a linking failure
c:\codetyphon\fpc\fpc64\bin\x86_64-win64\x86_64-linux-ld.exe: cannot find -lQt4Pas
c:\codetyphon\fpc\fpc64\bin\x86_64-win64\x86_64-linux-ld.exe: cannot find -lX11
c:\codetyphon\fpc\fpc64\bin\x86_64-win64\x86_64-linux-ld.exe: cannot find -lc
main.ppr(28,1) Error: Error while linking
I've downloaded the cross tool chain and os libraries, but the error persist.
Any pointer where shall I tweak?