Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Creating a mips tool chain for mips3
@ 2001-06-19 16:14 Shay Deloya
  2001-06-19 16:24 ` Keith M Wesolowski
  0 siblings, 1 reply; 2+ messages in thread
From: Shay Deloya @ 2001-06-19 16:14 UTC (permalink / raw)
  To: linux-mips

Hi,

At the moment I use tool chain of  egcs-2.90.29 glibc-2.0.6.
I see that the default crtbegin (egcs)  is compiled for mips1 and when I use
mips-linux-gcc -mips3 hello.c , I get the following error:
ISA mismatch (-mips3) with previous modules (-mips1)
Bad value: failed to merge target specific data of file /tmp/ccVx4c701.o

When I check I see that crtbegin & crtend are of mips1 type.

How can I configure the gcc and glibc to be compiled as mips3 and not mips1 
by default ? 

Shay

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Creating a mips tool chain for mips3
  2001-06-19 16:14 Creating a mips tool chain for mips3 Shay Deloya
@ 2001-06-19 16:24 ` Keith M Wesolowski
  0 siblings, 0 replies; 2+ messages in thread
From: Keith M Wesolowski @ 2001-06-19 16:24 UTC (permalink / raw)
  To: Shay Deloya; +Cc: linux-mips

On Tue, Jun 19, 2001 at 07:14:22PM +0300, Shay Deloya wrote:

> How can I configure the gcc and glibc to be compiled as mips3 and not mips1 
> by default ? 

Getting libgcc built as non-mips1 is something I haven't figured out
yet.  At least, not without gross hacks.  glibc is easy - put -mips2
in CFLAGS when you call configure.

In any case you must not use mips3 userland on 32-bit kernels, on
account of 64-bit istructions being used.  You must use mips2.

-- 
Keith M Wesolowski <wesolows@foobazco.org> http://foobazco.org/~wesolows
------(( Project Foobazco Coordinator and Network Administrator ))------
	"Nothing motivates a man more than to see his boss put
	 in an honest day's work." -- The fortune file

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-19 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-19 16:14 Creating a mips tool chain for mips3 Shay Deloya
2001-06-19 16:24 ` Keith M Wesolowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox