This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: forcing gcc to use a nonstandard list of include directories
Dnia sobota 02 lipca 2011 o 12:59:07 napisaÅeÅ:
> On 2 July 2011 06:55, MichaÅ Walenciak wrote:
> > datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --
>
> Hmm, I wonder why it's using /usr/include for include files
>
> I wouldn't have thought it's a good idea to install a cross-compiler
> as /usr/bin/gcc anyway
--target=avr causes that gcc has 'avr' prefix, so the name is avr-gcc.
Also include dir is ok as it still is an x86(_64) apllication.
The only thing I need and want is to build a gcc that will use a certain dir
for includes (/usr/lib/avr/includes instead of standard ones like /usr/include
or /usr/avr/include)
best regards
--
MichaÅ Walenciak
gmail.com kicer86
http://kicer.sileman.net.pl
gg: 3729519