| To: | kernel coder <lhrkernelcoder@gmail.com> |
|---|---|
| Subject: | Re: gcc-4.1.0 cross-compile for MIPS |
| From: | James E Wilson <wilson@specifix.com> |
| Date: | Fri, 23 Jun 2006 12:01:21 -0700 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <f69849430606182340t72ed5a68l95a724ea933faf12@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <f69849430606160522i12050d00n9a4a39810f13b8a0@mail.gmail.com> <1150497195.17820.4.camel@aretha.corp.specifix.com> <f69849430606182340t72ed5a68l95a724ea933faf12@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Sun, 2006-06-18 at 23:40, kernel coder wrote: > ../glibc-2.3.6/configure --host=mipsel-linux --prefix="/usr" > --enable-add-ons --with-headers=/home/shahzad/install/mipsel/include > "misc/sys/uio.h"'; } | \ gcc -mabi=32 -E -dM -MD -MP > cc1: error: unrecognized command line option "-mabi=32" It failed, because it tries to give mips compiler options to the native (x86?) compiler, which obviously won't work. And you got this failure because you configured glibc wrong. As always, the answer to this problem can be found in Dan Kegel's crosstools package, which knows how to correctly configure glibc. Since you apparently haven't taken my previous hints, instead of giving you the answer, I'm just going to point you at the crosstools package, and ask you to look it up yourself. -- Jim Wilson, GNU Tools Support, http://www.specifix.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: u-boot problem: Au1xx0: fix prom_getenv() to handle YAMON style environment, Sergei Shtylyov |
|---|---|
| Next by Date: | Re: [PATCH] au1200 USB - EHCI and OHCI fixes, Ralf Baechle |
| Previous by Thread: | Re: gcc-4.1.0 cross-compile for MIPS, Matej Kupljen |
| Next by Thread: | 2.4 fixes in git, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |