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: [CT_NG] bug - compiling mips gcc (4.1.2) with glibc 2.6.1


Hello Marco!
Hello all!

On Tuesday 30 October 2007 17:53:58 Marco Fonseca wrote:
> Seems as if when configuring part of the glibc package, the native 
> compiler (gcc) is being used instead of the newly built boot strapped 
> compiler (mips-unknown-linux-gnu-gcc in my case).  This causes the 
> compiler to barf when getting mips specific arguments (in my case: cc1: 
> error: unrecognized command line option "-mabi=32"). 
> A one line change was enough to get me going (listed below)

Hmmm. Sounds reasonable to me. How come I didn't have the problem?
Oh, it must be because I'm not using glibc for 'embedded' targets, such
as MIPS.

> -    CC=${CT_CC_NATIVE}                          \
> +    CC=${cross_cc}                              \

Commited, thank you!

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    |  """  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]