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

TOPIC:

CT 4.9 crossbuild for arm hardfloat 10 years 4 months ago #5725

  • Alfred
  • Alfred's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 5
Just started checking out CT 4.9 on Win 8.1 ..... very nice release !!! Thanks again for the good work !

However.....

The toolchains now give an option for "win32-armeb-linux--hardfloat". Which would be perfect for crosscompiling for RPi and BBB running Arch Linux hardfloat.
When building FPC32 with this toolchain and the standard CT-scripts, the results is a ppcrossarm.exe that is only suitable for softfloat ARMEL.

Changing "CROSSPOPT" to "OPT" inside the script "x_FPC_Build_Cross_armeb_linux_hardfloat.bat" solves this problem. This results in a ppcrossarm.exe that is suitable for ARMHF.

Next problem.

The binaries are named e.g. "armeb-linux-*.exe". These are not found by CT 4.9 ... it is expecting binaries with name "arm-linux-*.exe".
The units are placed in a directory named "armeb-linux". These are not found by CT 4.9 ... it is expecting units in a directory named "arm-linux".

By applying all these changes by hand, CT compiles all my GUI programs ARMHF on RPi and BBB. And they run 100% !!
No external toolchains needed for the first time !!!! Thanks !!

It would be nice if these changes would be added to the next CT version. It would enable out-of-the-box (GUI) applications for RPi and BBB.

Greetings, Alfred.
The following user(s) said Thank You: David

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

  • Page:
  • 1