Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Where are these files? 1 month 2 weeks ago #19248

  • Gorilla Disco
  • Gorilla Disco's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 13
  • Thank you received: 0
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?
 

Please Log in or Create an account to join the conversation.

Where are these files? 2 weeks 4 days ago #19314

  • Gorilla Disco
  • Gorilla Disco's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 13
  • Thank you received: 0
I found that if I copy crti.o, crtn.o, crtbeginS.o, crtendS.o from C:\codetyphon\binLibraries\x86_64-linux to project folder, the warning message for those file are no longer appear. 
But shouldn't it be automated? Which project option I should edit? I tried the ones in Compiler Option -> Paths, but none is working. Some even generated message that I entered "unusual characters".

also,
I still cannot find the folder/file as demanded by c:\codetyphon\fpc\fpc64\bin\x86_64-win64\x86_64-linux-ld.exe (-lQt4Pas, -lX11, -lc)

add:

I'm looking at the CodeTyphon Center and it's like this: 


- why Use Cross Toolchains Build Engine is marked red? What can I do to turn it green?
- is that what caused the problem with my crossbuild trial?

 
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Gorilla Disco.

Where are these files? 2 weeks 4 days ago #19315

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1329
  • Thank you received: 208
CrossBuild it's  an ability of CodeTyphon Studio  Info

The following steps are exactly the same for every CodeTyphon host-OS
(Windows, Linux, FreeBSD, etc)  Info

Please look at "4. Setup your Project Libraries".

We provide pre-build CrossToolchain,
for this reason  the Cross Toolchains Build Engine is False.

Always you can try to build CrossToolchain with CTCenter. Info


 
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..
  • Page:
  • 1