This is the mail archive of the
mailing list for the GCC project.
Re: Could my understanding of 'crti.o' in a ARM cross compile be verified?
Jamie Risk <email@example.com> writes:
>>> 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.
You will only see it look in directories that exist, though.