Could my understanding of 'crti.o' in a ARM cross compile be verified?
Jamie Risk
jamie@subject2risk.com
Wed Jul 28 15:03:00 GMT 2010
>> But the presence of the `crti.asm` source file
>> (`gcc-4.5.0/gcc/config/arm/crti.asm`) is misleading me. Why is
>> it there? Is it for bare metal targets (sans glibc & Linux)?
>
> Right: it's only for the arm-elf target.
Ahh ... that's making some sense. I'll start with an arm-elf
target and see where I can get too.
But the question is still begging: why then, when the build is
configured with `target=arm-linux` the linker looks for the
`crti.o` file in the `gcc-4.5.0/gcc/` build directory?
More information about the Gcc-help
mailing list