tags:

views:

55

answers:

3

Hi, Is it possible to compile native GCC for ARM (host == target == ARM) using Code Sourcery G++? If it is not possible, could I use crosstool-NG to build the cross-compile and then using this one for compiling the native ARM GCC?

Thank you,


Edit: as to why: I'm creating my own distro for beagleboard...

+1  A: 

I'm creating my own distro for beagleboard...

Carlo
You should rather append this info to your question. I'll +1 you a bit so you can do that. Afterwards, delete this.
leppie
Ehm...I would like to, but I posted the question without being registered (I'm a freshman on stackoverflow.com), so I have no idea now how to modify it, sorry for that...
Carlo
A: 

CodeSourcery provides prebuilt toolchains only for Linux/x86 and Windows (see "Host System Requirements" here). If you want a native ARM-hosted toolchain, you should be able to build one using a cross-compiler. If you want a prebuilt one, you can try some of the existing ARM distros such as Debian-arm, or Aboriginal Linux (it's made to be run in QEMU but you can probably extract the compiler from it and run natively).

Igor Skochinsky
A: 

better off to use openembedded

plan9assembler
Yeah, but I prefer to start from scratch. If I want to understand something I think it's better to avoid automated tools (IMHO)
Carlo