From: Franklin <franklin@goodhorse.idv.tw>
To: gcc-help@gcc.gnu.org
Subject: Compiling kernel 2.4.18 with gcc 2.96/3.4.3
Date: Fri, 31 Dec 2004 08:08:00 -0000 [thread overview]
Message-ID: <20041231160538.17335e88.franklin@goodhorse.idv.tw> (raw)
Hi list, happy new year!
I have a question about compiling kernel with cross compiler.
I used mipsel-linux-gcc 2.96 and glibc 2.2 to compile kernel 2.4.18 successfully.
And now I want to change glibc to 2.3 so I changed gcc to the most recent 3.4.3 as well.
However, after successfully compiling glibc 2.3, when I tried to compile 2.4.18,
it told me:
init/main.c:1: error: -mips2 conflicts with the other architecture options, which specify a MIPS3 processor
Assembler messages:
Error: -mips2 conflicts with the other architecture options, which imply -mips3
make: *** [init/main.o] Error 1
I found that it was caused by the option "-march=r4600 -mips2".
When I used gcc 2.96 it was OK, but when I used gcc 3.4.3 it stopped with error.
I googled a lot and found that r4600 should ``belong to'' mips3,
but it's ok to assign -mips2 under gcc 2.96. I'm not familiar with this region and don't know why.
Could anybody please tell me why different gcc versions would cause different result in the same option?
Sorry if it is appropriate to ask here. (I'm not quite sure if such questions should be asked
in gcc mailing list or linux kernel mailing list...)
Best Regards,
Frank Weng
reply other threads:[~2004-12-31 8:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041231160538.17335e88.franklin@goodhorse.idv.tw \
--to=franklin@goodhorse.idv.tw \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).