This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

forcing gcc to use a nonstandard list of include directories


Hi all

I'm trying to compile gcc for an avr architecture.
I've used standard directories in ./configure (--prefix=/usr etc).
The only except is --exec-prefix which I set to /usr/lib so gcc looks for avr 
related files in /usr/lib/avr/. That all is fine except includes. gcc keeps 
using default set of includes (with nonexisting /usr/avr/include). I wish it 
was looking for .h files in /usr/lib/avr/includes (and only there! as 
/usr/include & co dirs are inappropriate for avr architecture). 

How can I simply achieve that?

best regards

-- 
MichaÅ Walenciak
gmail.com kicer86
http://kicer.sileman.net.pl
gg: 3729519


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]