Jamie Risk <jamie@xxxxxxxxxxxxxxxx> writes: >>> 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? It looks in a number of places for each file; that is just one of them. If glibc is installed using the same --prefix as gcc, then it should look there as well. I hope. Ian