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

TOPIC:

ARM7 Cross Compilation 7 years 5 months ago #10141

  • Fernando Vazquez
  • Fernando Vazquez's Avatar Topic Author
  • Visitor
  • Visitor
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

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

ARM7 Cross Compilation 7 years 5 months ago #10142

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

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

Last edit: by Sternas Stefanos.

ARM7 Cross Compilation 7 years 5 months ago #10152

  • Fernando Vazquez
  • Fernando Vazquez's Avatar Topic Author
  • Visitor
  • Visitor
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.

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

ARM7 Cross Compilation 7 years 5 months ago #10153

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

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1