× CodeTyphon Cross-Build Development, discussions and problems

Question ARM7 Cross Compilation

  • Fernando Vazquez
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #10141 by Fernando Vazquez
ARM7 Cross Compilation was created by Fernando Vazquez
Please move this to the right form if needed.

After a lot of search I was unable to find a solution.

The escenario is :

Host Machine Windows 7 64 bits.

Target: ARM 7L with Ubuntu

After a simple ( a form with a label) compilation over the Windows machine using this libraries: C:\codetyphon\binLibraries\arm-linux-eabi5-hf, Linux as Target OS, and ARM7 as target CPU, I moved the application to the Target Board, give the permissions, and allow execute as application.

NOTHING HAPPENDS.

After run tose commands I found:

uname -l
armv7l

file ./project1
./project1: ELF 32 -bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Lunux 2.0.0, not stripped

As obvius, my question its very simple, an can take 2 minutes to be solved for anybody with minimal knoledge of Linux, but...ITS NOT MY CASE.

Please, I any of you have time to show me a way, I will be very happy to start.

Trully, I do not know where to find any solution.

Any help will be appreciated.

Fernando

Fernando

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
5 years 1 month ago - 5 years 1 month ago #10142 by Sternas Stefanos
Replied by Sternas Stefanos on topic ARM7 Cross Compilation
Sir
in "Arm CPU world" you must have a Target Machine
arm-linux-eabi5-hf it's a GENERAL Cross build sample

a) read this
Cross-Build for RasberryPi and this
Cross-Build for RasberryPi2

RasberryPi or RasberryPi2 executables will work in 99% of arm-linux target cases
Raspbian OS of Pi is a Debian Linux modification .
Ubuntu it's Debian based :) Linux.

For a "Deep Dive"
b) Go to C:\codetyphon\ScriptsWin\crossbuild folder
to study the cross-build cases
x_FPC_Build_Element_arm_linux_eabihf.bat
x_FPC_Build_Element_arm_linux_RapberryPi.bat
x_FPC_Build_Element_arm_linux_RapberryPi2.bat
etc

PS: CodeTyphon, crossbuild procedure is very simple, don't has "Exotic Code"

PilotLogic Architect and Core Programmer
Last edit: 5 years 1 month ago by Sternas Stefanos.

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

  • Fernando Vazquez
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #10152 by Fernando Vazquez
Replied by Fernando Vazquez on topic ARM7 Cross Compilation
Stefanos Thanks a lot for your quick reply.

I will test with RPi and seach more deep.

Last question by now dependencies must be sent with the application wrigth?

Any simple "debianizater" to recomend?

My knoledge on linux arevless tham poor.

Again thanks for you time.
Let you know results.

Fernando

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
5 years 1 month ago - 5 years 1 month ago #10153 by Sternas Stefanos
Replied by Sternas Stefanos on topic ARM7 Cross Compilation
All dependencies, for your application are IN the Target OS.
This is the "beauty" of Native Programming ...

PS: I am here 18/7 (6 hours for sleep) :dry: , for anything you need

PilotLogic Architect and Core Programmer
Last edit: 5 years 1 month ago by Sternas Stefanos.

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