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

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

Re: [avr-gcc-list] Building code


From: Senthil Kumar Selvaraj
Subject: Re: [avr-gcc-list] Building code
Date: Thu, 9 Oct 2014 15:04:54 +0530
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Oct 09, 2014 at 11:16:19AM +0200, Andreas Höschler wrote:
> Hi Senthil,
> 
> > The compiler is not able to find header files supplied by avr-libc. Did
> > you build both of them with the same install prefix? Can you paste the
> > output of running avr-gcc with -v?
> 
> 
> See below:
> 
> -bash-3.2$ avr-gcc  -v
> Using built-in specs.
> Target: avr
> Configured with: ../gcc-4.3.3/configure --target=avr --prefix=/usr/local/avr 
> --enable-languages=c --disable-libssp --disable-shared --disable-libada 
> --disable-libssp --disable-nls --with-dwarf2 --with-gmp=/usr/local 
> --with-mpfr=/usr/local --prefix=/usr/local/avr : (reconfigured) 
> ../gcc-4.3.3/configure --target=avr --prefix=/usr/local/avr 
> --enable-languages=c --disable-libssp --disable-shared --disable-libada 
> --disable-libssp --disable-nls --with-dwarf2 --with-gmp=/usr/local 
> --with-mpfr=/usr/local --prefix=/usr/local/avr : (reconfigured) 
> ../gcc-4.3.3/configure --target=avr --prefix=/usr/local/avr 
> --enable-languages=c --disable-libssp --disable-shared --disable-libada 
> --disable-libssp --disable-nls --with-dwarf2 --with-gmp=/usr/local 
> --with-mpfr=/usr/local --prefix=/usr/local/avr
> Thread model: single
> gcc version 4.3.3 (GCC) 
> 

Hmm, did you manage to build avr-libc successfully? Atleast from the avr-libc 
configure command line you sent in the previous email, it looks like
you're missing --prefix.

Can you try configuring avr-libc with

./configure --host=avr --prefix=/usr/local/avr

and then running make and make install?

Regards
Senthil
> 
> Thanks,
> 
>  Andreas
> 



reply via email to

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