Fabio, Martin,
All,
On Friday 11 September 2009 12:25:21 Martin Guy wrote:
> On 9/9/09,
gisfri@... <
gisfri@...> wrote:
> > I'm trying to build a toolchain for armv7-a with crosstool-ng 1.4.2
> > with GCC-4.3.3, but the process fails in compiler stage, with
> > Unknown arch used in --with-arch=armv7-a
> > (maybe because support for armv7 was
> > added with GCC-4.4.0?)
>
> man gcc-4.3 says -march=name ... armv7, armv7-a, armv7-r, armv7-m
> so it "should just work".
Yes, it should. But it does not: ./configure does not accept the same
--with-arch= values as -march= accepts. :-(
> I suggest you dig down to find out exactly which script is emitting
> that error message, and go from there
Or use gcc-4.4, which knows about armv7-a at ./configure time.
This requires that you use crosstool-NG from the development tree.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ |
| --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no |
|
http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see
http://sourceware.org/lists.html#faq