× CodeTyphon Cross-Build Development, discussions and problems

Question Problems Cross-Compiling from KUBUNTU 14.04 64 Bit to Rapberry Pi 3 b

  • Jürgen Abel
  • Jürgen Abel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • PASCAL Enthusiast
More
3 years 11 months ago #11221 by Jürgen Abel
Just installed CodeTyphon 6.3 on KUBUNTU 14.04 64 Bit in order to build programs for the Raspberry 3 on my KUBUNTU PC.
At your site I only found one CodeTyphon 6.3 version, which is 64 Bit under KUBUNTU.
After downloading toolchains and libraries for RaspBerryPi3, I used "FPC64 build cross element ALL".
Now I tried to cross compile a program for a Rapberry Pi 3 b while running typhon on KUBUNTU, setting the project options target OS and Target CPU to Linux and arm as well as LCLWidgetType=gtk2.

Unfortunatly I always get the error "/usr/lib/x86_64-linux-gnu/crti.o: file not recognized: File format not recognized, test_1_project.ppr(20,1) Error: Error while linking".

Is there a setting for the linker I am missing?

Cheers,
ATILIUS

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 years 11 months ago - 3 years 11 months ago #11222 by Sternas Stefanos
Thanks Sir
-Did you download OS Libraries "arm-linux-Raspbian3" ?
-Did you "Setup your Project Libraries" for arm-linux-Raspbian3 ?

like Ri2 info

You must give to FPC OSLibraries from Pi3

PilotLogic Architect and Core Programmer
Last edit: 3 years 11 months ago by Sternas Stefanos.

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

  • Jürgen Abel
  • Jürgen Abel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • PASCAL Enthusiast
More
3 years 11 months ago - 3 years 11 months ago #11225 by Jürgen Abel
Thanks for your quick response, Sternas.

In my CodeTyphon 6.3 is only a menu entry: CrossBuild/FreePascal 64bits/FPC64 build cross element arm-linux,
there is no FreePascal 32bits entry nor a arm-linux-Raspbian3 entry.

How can I access these entries?
Last edit: 3 years 11 months ago by Jürgen Abel.

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