Could my understanding of 'crti.o' in a ARM cross compile be verified?

Jamie Risk jamie@subject2risk.com
Wed Jul 28 15:53:00 GMT 2010


>> 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.

According to the strace (included first in the thread, grep
"30919.+crti.o") it seems to just try once and give up.

Of course I don't have glibc installed ... I haven't anything to
compile it with ...

- Jamie



More information about the Gcc-help mailing list