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

TOPIC:

Problems Cross-Compiling from KUBUNTU 14.04 64 Bit to Rapberry Pi 3 b 6 years 3 months ago #11221

  • Jürgen Abel
  • Jürgen Abel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • PASCAL Enthusiast
  • Posts: 8
  • Thank you received: 1
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.

Problems Cross-Compiling from KUBUNTU 14.04 64 Bit to Rapberry Pi 3 b 6 years 3 months ago #11222

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
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

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

Last edit: by Sternas Stefanos.

Problems Cross-Compiling from KUBUNTU 14.04 64 Bit to Rapberry Pi 3 b 6 years 2 months ago #11225

  • Jürgen Abel
  • Jürgen Abel's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • PASCAL Enthusiast
  • Posts: 8
  • Thank you received: 1
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?

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

Last edit: by Jürgen Abel.
  • Page:
  • 1