LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Crosscompiler for ARM-processorboard (https://www.linuxquestions.org/questions/linux-newbie-8/crosscompiler-for-arm-processorboard-4175445812/)

EvertPloeg 01-16-2013 02:29 AM

Crosscompiler for ARM-processorboard
 
Hello,

For an Olimex OlinuXino MAXI board with an ARM 926J processor (see URL : https://www.olimex.com/Products/OLin...LinuXino-MAXI/ ) I want to develop software. I use my Ubuntu 12.10 desktop as a host system (i686 / Intel i7 core).

IS there a cross-C/C++-compiler running on Ubuntu / i686 that generates code for ARM-architectures (armv5tejl) ?:confused:

Thanks in advance,
kind regards,
Evert.

theNbomr 01-16-2013 07:02 PM

There are numerous ways to build a cross toolchain for your architecture. For ARM, there are so many possible combinations of hardware and software configurations that it will be difficult to find the exact one that matches your CPU and board. Do you have an existing Linux system running on it? If so, you'll want to know what version of many things are, particularly the standard C library.
I absolutely do not recommend trying to roll your own toolchain. There are systems available, many for free, that you can use to do the build. Crosstool-NG is one I've used successfully. LinuxLink is another. OpenEmbedded will build a toolcahin and a whole lot more. There are other systems if you look around.

---- rod.

EvertPloeg 01-24-2013 05:58 AM

Found the proper crosscompiler.
 
Hi,
Thanks for your reply. I found the arm-linux-gnueabi-gcc crosscompiler. And it works at my target platform (ARM9-processor on a Olimex OlinuXino MAXI board).
Kind regards,
Evert.


All times are GMT -5. The time now is 06:46 PM.