Re: hard to find the correct include files at compile time
[email protected] (Joerg Wunsch)
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Organization | Private BSD site, Dresden |
| Message-ID | <[email protected]> |
Senthil Kumar Selvaraj <[email protected]> wrote: > No. This is what I'm seeing > > ~/avr/install/bin/avr-gcc -v inc.c > <snip> > #include "..." search starts here: > #include <...> search starts here: > /home/saaadhu/avr/install/lib/gcc/avr/5.0.0/include > /home/saaadhu/avr/install/lib/gcc/avr/5.0.0/include-fixed > /home/saaadhu/avr/install/lib/gcc/avr/5.0.0/../../../../avr/sys-include > /home/saaadhu/avr/install/lib/gcc/avr/5.0.0/../../../../avr/include > End of search list. For two installations (host GCC, and AVR-GCC) which are somewhat comparable (both are prefixed to /usr/local, but differ in some other configure options), it looks like this: AVR-GCC: ignoring nonexistent directory "/usr/local/lib/gcc/avr/4.8.3/../../../../avr/sys-include" #include "..." search starts here: #include <...> search starts here: /usr/local/lib/gcc/avr/4.8.3/include /usr/local/lib/gcc/avr/4.8.3/include-fixed /usr/local/lib/gcc/avr/4.8.3/../../../../avr/include End of search list. host GCC: #include "..." search starts here: #include <...> search starts here: /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/include /usr/local/include /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.4/include-fixed /usr/include End of search list. The "avr" part (before the version number) vs. the "x86_64-portbld-freebsd10.0" are what always distinguishes both installations. (Ivaylo, better subscribe to the list in order to not miss replies.) -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)