Arm cross-compiler
Are there many RPi bare metal programmers?
I wonder if there is a well-working GNU toolchain neatly packaged for Slackware? I'm using eclipse CDT (Kepler) if that has any meaning. I've tried the Raspbian official tool chain and Code:
bash-4.2$ ./arm-none-eabi-gcc --version I think both of them are Linaro-toolchains, but I'm not sure. Both of them, however, seem to have the same oddities with linking. - in linker script, file names need to have wildcard before extension in the input section definitions. - unable to find symbols (asm - c) - maybe something else I haven't encountered yet Or maybe someone knows how to make the mentioned toolchains work? The first problem: Code:
.text : This works: Code:
.text : Code:
ldr pc, =_start1 Code:
void start1() Quote:
Also linking order of the C- and S-file doesn't make a difference. |
WHAT?
It seems there are no added underscore in the c-names. If I replace Code:
ldr pc, =_start1 Code:
ldr pc, =start1 What the <censored> has happened to GCC? Are those ARM-only features? |
All times are GMT -5. The time now is 07:30 PM. |