[Nix-dev] Re: avr-gcc and .o include dirs?
Ludovic Courtès
ludo at gnu.org
Wed Feb 11 23:53:21 CET 2009
Hello,
Marc Weber <marco-oweber at gmx.de> writes:
> The problem:
> avrlibc creates a mcu (microcontroller unit) specific .o file.
> That one is needed to link the final program.
Are you referring to crt.o and similar files?
> The search path for .o files is hardcoded into gcc, correct?
In the GCC wrapper, which adds `-B/path/to/glibc' so that crt1.o and
friends are found (see `gcc-wrapper/builder.sh').
I don't clearly understand what your problem is, though.
Hope this helps,
Ludo'.
More information about the nix-dev
mailing list