Dear Yvan,

Thanks for your reply.
We are trying to build native gcc compiler for CPU: nViDia Tegra 2 which
has ARMv7-a, Cortex-A9 core. We are using host machine as i686 and OS:
ubuntu 12.04.

-br,
Anwej
9958333456


On Wed, Apr 9, 2014 at 9:13 PM, Yvan Roux <yvan.r...@linaro.org> wrote:

> Hi Anwej,
>
> what kind of machine are you building on? my guess is that you try to
> do a native build whereas it is a cross one that you need.
>
> rgds,
> Yvan
>
> On 9 April 2014 16:32, Anwej Alam <anwej.a...@upheave.in> wrote:
> > Dear Sir,
> >
> > Thanks for you page. it is really very helpful to us.
> > We are facing a problem during compiling GCC for our ARMv7-a Cortex-a9.
> > We are using following option:
> >
> > 1.
> > ../gcc-linaro*/configure --disable-bootstrap --enable-languages=c,c++
> > --with-mode=thumb --with-arch=armv7-a --with-tune=cortex-a9
> > --with-float=hard --with-fpu=vpfv3-d16  --prefix=$home/gcc/gcc-linaro
> >
> > 2.
> > make -j`getconf _NPROCESSORS_ONLN`
> >
> > after 2 step we are getting following error:
> >
> >
> >
> > checking whether putc_unlocked is declared... yes
> > checking whether getrlimit is declared... yes
> > checking whether setrlimit is declared... yes
> > checking whether getrusage is declared... yes
> > checking whether ldgetname is declared... no
> > checking whether times is declared... yes
> > checking whether sigaltstack is declared... yes
> > checking whether madvise is declared... yes
> > checking for struct tms... yes
> > checking for clock_t... yes
> > checking for F_SETLKW... yes
> > checking if mkdir takes one argument... no
> > Unknown CPU given in --with-arch=armv7-a.
> > make[1]: *** [configure-gcc] Error 1
> > make[1]: Leaving directory `/home/anwej/src/build'
> > make: *** [all] Error 2
> >
> > Please suggest the solution. where is the problem and what will be our
> next
> > steps.
> >
> > Thanks in advance.
> >
> > -best regards
> > Anwej Alam
> > Ph: +91.995.833.3456
> >
> >
> >
> > _______________________________________________
> > linaro-toolchain mailing list
> > linaro-toolchain@lists.linaro.org
> > http://lists.linaro.org/mailman/listinfo/linaro-toolchain
> >
>



-- 
-best regards
Anwej Alam
Engineer, System Design
Upheave Systems Pvt. Ltd.
C-78, 1st Floor, Sec-2 Noida-201301
Ph: +91.995.833.3456
      +91.901.573.3456
Mail to: anwej.a...@upheave.in
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to