[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
>
- [avr-gcc-list] Building code, Andreas Höschler, 2014/10/08
- Re: [avr-gcc-list] Building code, Senthil Kumar Selvaraj, 2014/10/09
- Re: [avr-gcc-list] Building code, Andreas Höschler, 2014/10/09
- Re: [avr-gcc-list] Building code,
Senthil Kumar Selvaraj <=
- Re: [avr-gcc-list] Building code, Andreas Höschler, 2014/10/09
- [avr-gcc-list] Converting string to uint32_t, Andreas Höschler, 2014/10/13
- Re: [avr-gcc-list] Converting string to uint32_t, Georg-Johann Lay, 2014/10/14
- Re: [avr-gcc-list] Converting string to uint32_t, Wim Lewis, 2014/10/14
- Re: [avr-gcc-list] Converting string to uint32_t, Andreas Höschler, 2014/10/14