Skip to contentSkip to conversation

all in the family

DISCUSSION Mike Shaver 4 participants 8 messages Apr 10, 1997 MIPS

lore
Share & tools
lore
#0 lore raw

Looks like I may be getting a machine here to see if we can migrate some of our non-Oracle machines to Linux/SPARC.

Anyone know if the emulation is up to hosting the Linux/Indy cross-compiler?

In related news, we'll then have Linux running on 5 architectures in the same room (Intel, Alpha, SPARC, ELKS, Indy). Maybe I'll steal the PowerMac too... =)

Mike

Signature · 5 lines
#> Mike Shaver ([email protected])      Information Warfare Division  
#> Chief Tactical and Strategic Officer         "Saepe fidelis"        
#>                                                                     
#> "I like your game, but we have to change the rules." -- Anon        
#>                                                                     
#1 lore raw
Quoted 3 lines

Anyone know if the emulation is up to hosting the Linux/Indy cross-compiler?

Why do you need the emulation for on Linux/SPARC? You just need to
run configure on Linux/SPARC with the proper --target option and you will get your native cross-compiler in a second.

You need to configure both binutils and gcc like this.

Quoted 3 lines

In related news, we'll then have Linux running on 5 architectures in the same room (Intel, Alpha, SPARC, ELKS, Indy). Maybe I'll steal the PowerMac too... =)

:-)

Miguel.

#2 lore raw

Thus spake Miguel de Icaza:

Quoted 6 lines
Quoted 2 lines

Anyone know if the emulation is up to hosting the Linux/Indy cross-compiler?

Why do you need the emulation for on Linux/SPARC? You just need to
run configure on Linux/SPARC with the proper --target option and you will get your native cross-compiler in a second.

I was under the impression that building GCC for the Linux/SGI target was non-trivial. Ralf made mention of some patches, and since there are binaries available for Solaris...

If GCC can support it with a --target choice, that'll be great.

Mike

Signature · 5 lines
#> Mike Shaver ([email protected]) Ingenia Communications Corporation 
#>              Commando Developer - Whatever It Takes
#>                                                                     
#> "See, you not only have to be a good coder to create a system like
#>    Linux, you have to be a sneaky bastard too." - Linus Torvalds
#3 lore raw

Hi,

Quoted 8 lines

Thus spake Miguel de Icaza:

Quoted 6 lines
Quoted 2 lines

Anyone know if the emulation is up to hosting the Linux/Indy cross-compiler?

Why do you need the emulation for on Linux/SPARC? You just need to
run configure on Linux/SPARC with the proper --target option and you will get your native cross-compiler in a second.

Quoted 5 lines

I was under the impression that building GCC for the Linux/SGI target was non-trivial. Ralf made mention of some patches, and since there are binaries available for Solaris...

If GCC can support it with a --target choice, that'll be great.

(I think you're confusing host and target. If you want IRIX to generate code for Linux the IRIX is the host and Linux the target os).

GCC does that as well as the binutils. Truely pervert people can even build GCC / binutils on a host of type a to run on type b and generate code for type c. I did that once or twice to build the first native compiler for Linux/MIPS.

Try something like:

  ./configure --prefix=/usr --target=mips-linux

to configure binutils and GCC.

Ralf

#4 lore raw

Thus spake Ralf Baechle:

Quoted 1 line

(I think you're confusing host and target.

I think you're right...

Mike
(how embarrassing)

Signature · 5 lines
#> Mike Shaver ([email protected]) Ingenia Communications Corporation 
#>                 UNIX medicine man -- dark magick, cheap!            
#>                                                                     
#>  When the going gets tough, the tough give cryptic error messages.  
#>          "We believe in rough consensus and running code."          
#5 lore raw
In reply to Mike Shaver

From: Mike Shaver <[email protected]>
Date: Wed, 9 Apr 1997 22:11:01 -0400 (EDT)

Looks like I may be getting a machine here to see if we can migrate some of our non-Oracle machines to Linux/SPARC.

Anyone know if the emulation is up to hosting the Linux/Indy cross-compiler?

It should be straight forward, 32-bit to 32-bit crosses under gcc work flawlessly right out of the box for everything I've ever tried. It's when you cross from 32-bit to 64-bit that you may hit a bug or two.

In related news, we'll then have Linux running on 5 architectures in the same room (Intel, Alpha, SPARC, ELKS, Indy). Maybe I'll steal the PowerMac too... =)

ELKS, that is cheating ;-)

---------------------------------------------////
Yow! 11.26 MB/s remote host TCP bandwidth & ////
199 usec remote TCP latency over 100Mb/s ////
ethernet. Beat that! ////
-----------------------------------------////__________ o David S. Miller, [email protected] /_____________/ / // /_/ ><

#6 lore raw
Quoted 9 lines

Looks like I may be getting a machine here to see if we can migrate some of our non-Oracle machines to Linux/SPARC.

Anyone know if the emulation is up to hosting the Linux/Indy cross-compiler?

It should be straight forward, 32-bit to 32-bit crosses under gcc work flawlessly right out of the box for everything I've ever tried. It's when you cross from 32-bit to 64-bit that you may hit a bug or two.

I've got the necessary patches to make the binutils and GCC work as Linux/Alpha -> Linux/MIPS crosscompiler. Mike, if you need them remind me to send them if you need them.

Quoted 5 lines

In related news, we'll then have Linux running on 5 architectures in the same room (Intel, Alpha, SPARC, ELKS, Indy). Maybe I'll steal the PowerMac too... =)

ELKS, that is cheating ;-)

:-)

Ralf

#7 lore raw
In reply to David S. Miller

Thus spake David S. Miller:

Quoted 1 line

ELKS, that is cheating ;-)

Yeah, but Alan insists on working on it. =)

Mike

Signature · 5 lines
#> Mike Shaver ([email protected]) Ingenia Communications Corporation 
#>      Chief System Architect -- will tame sendmail(8) for food       
#>                                                                     
#> "You are a very perverse individual, and I think I'd like to get to 
#>  know you better." --- [email protected]