avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] hard to find the correct include files at compile tim


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] hard to find the correct include files at compile time
Date: Wed, 26 Nov 2014 07:57:44 +0100 (CET)

Senthil Kumar Selvaraj <address@hidden> 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. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]