This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
forcing gcc to use a nonstandard list of include directories
- From: "MichaÅ Walenciak" <kicer86 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 1 Jul 2011 22:55:58 +0200
- Subject: 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