Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on

Re: Has anyone ported the arm-linux toolchain to the Intel Max OSX?

Sometimes, but it appears that nobody has a repeatable and working
recipe for crosscompilers. Crosstools don't work for all versions and
have a lot of dependencies that are even difficult to solve with
MacPorts/DarwinPorts.
On the other hand, I still use my PowerPC hosted cross-gcc 2.95.3 with
Objective-C extension that I happened to create some longer time ago
on MacOS X 10.2 or 10.3.
It runs pretty well in Rosetta emulation on Intel Macs with 10.4.
Nikolaus

Re: Has anyone ported the arm-linux toolchain to the Intel Max OSX?
|> Doesn't gcc already compile under OSX/BSD?
|
| Sometimes, but it appears that nobody has a repeatable and working
| recipe for crosscompilers. Crosstools don't work for all versions and
| have a lot of dependencies that are even difficult to solve with
| MacPorts/DarwinPorts.
Cross compiling is a very messy thing. Most source packages are not
aware of cross compiling and that forms a big obstacle. Various
parameters need to be acquired to make many packages work, and they
do not all come from the same places. Programs run in the configure
script to determine parameters of the platform would yield them about
the host, not the target, for example. Likewise some programs run
in the Makefile might have similar issues.
Here is a project that is working to get around these issues by making
"cross" compiling really be native, doing only a minimal amount of
actual cross compiling for the kernel and toolchains and a few other
things that can do it reasonably well. Then the rest is done in a
native way under emulation to build up a full Linux system.
http://landley.net/code/firmware/about.html
Doing this across kernel classes (e.g. between Linux and BSD) makes
for even more complexity.
--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
We've slightly trimmed the long signature. Click to see the full one.

Re: Has anyone ported the arm-linux toolchain to the Intel Max OSX?
I built it and run it (on rare occasion) fine.
You should be able to use these instructions with minor (if any) trivial changes:
http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/build-arm-linux-3.4.4
regards,
You should be able to use these instructions with minor (if any) trivial changes:
http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/build-arm-linux-3.4.4
regards,
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Damion de Soto --------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Damion de Soto --------------------------------------------------
We've slightly trimmed the long signature. Click to see the full one.
Site Timeline
- » TSLIB touchscreen
- — Next thread in » Embedded Linux
-
- » oprofile : generating thread profile.
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Alimentation de labo Peaktech
- — The site's Newest Thread. Posted in » Electronics (French)
-
- » Intégrité du signal ESP32/SDIO (SDCARD)
- — The site's Last Updated Thread. Posted in » Electronics (French)
-