Forum
× CodeTyphon Cross-Build Development, discussions and problems

Question Differences between crossbuild for raspberry

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 months 4 weeks ago #13705 by superc
Hi,

on Codetyphon I can download Toolchains for Raspberry pi, Raspberrypi2 and Raspberry pi 3 for 32 and 64 bit;
What Is the differences???

On library on Codetyphon if i set for a device Raspberry pi3 a path of library of raspberry, what problems can I have?

Thanks in advance.

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
2 months 4 weeks ago #13708 by Sternas Stefanos
Replied by Sternas Stefanos on topic Differences between crossbuild for raspberry

on Codetyphon I can download Toolchains for Raspberry pi, Raspberrypi2 and Raspberry pi 3 for 32 and 64 bit;
What Is the differences???


32bits Toolchains are for Typhon32-FPC32
64bits Toolchains are for Typhon64-FPC64

On library on Codetyphon if i set for a device Raspberry pi3 a path of library of raspberry, what problems can I have?


On Unix OSes you must provide Target OS libraries to Compiler/Linker,
in order Compiler/Linker to build Target Executable

PilotLogic Architect and Core Programmer

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 months 4 weeks ago #13716 by superc
I didn't explain myself well;

I builded in Codetyphon 6.80 in Windows 64 for Raspberry pi3b an executable inserting in the path library first "arm-linux-Raspbian", then "arm-linux-Raspbian2" and for final "arm-linux-Raspbian3";
so with winmerge I checked the executable differences between the 3 files and the executable compiled with the Raspbian2 and Raspian3 library are the same while the one with Raspbian1 changed little, but was not the same.

The first file compiled with arm-linux-Raspbian is the size of a few smaller bytes while the other two are equal.

Alle three executable works well on Raspberry3.

I would like to understand the difference between the three libraries, since they generate very very similar code (between 2 and 3 is equal among other).

Thanks in advance.
Attachments:

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

More
2 months 4 weeks ago #13719 by Matis A.
Replied by Matis A. on topic Differences between crossbuild for raspberry
We copy
files in
arm-linux-Raspbian from Raspbian for Pi1
arm-linux-Raspbian2 from Raspbian for Pi2
arm-linux-Raspbian3 from Raspbian for Pi3

PilotLogic Core Programmer

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 months 4 weeks ago #13721 by superc
Excuse me Sir,
What does "we copy files" mean?

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

More
2 months 4 weeks ago - 2 months 4 weeks ago #13738 by Matis A.
Replied by Matis A. on topic Differences between crossbuild for raspberry
From Raspbian OS.
We install to a Pi3 (for sample) Raspbian OS and
we get any file that Compiler/Linker need.

It's NOT simple task...

PilotLogic Core Programmer
Last edit: 2 months 4 weeks ago by Matis A..

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 months 3 weeks ago #13745 by superc
ahhh ok,
now everything is clear I thank you

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