This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool-ng, armv7 and GCC-4.3.3


Fabio, Martin,
All,

On Friday 11 September 2009 12:25:21 Martin Guy wrote:
> On 9/9/09, gisfri@tin.it <gisfri@tin.it> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]