Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* where are gcc cross compiler binaries for x86 <=> axp
@ 1996-07-19 16:17 Harald Koenig
  0 siblings, 0 replies; 6+ messages in thread
From: Harald Koenig @ 1996-07-19 16:17 UTC (permalink / raw)


I'm looking for a gcc/axp running on Liinux/x86 and vice versa 
incuding bintutils etc. to build a kernel for the "other" box.
if possible I'd like to have cross compilers for both directions.

are there any ready made binaries?

Harald

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: where are gcc cross compiler binaries for x86 &lt;=&gt; axp
@ 1996-07-19 19:50 David Mosberger-Tang
  1996-07-19 20:09 ` Richard Henderson
  1996-07-20  8:22 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 6+ messages in thread
From: David Mosberger-Tang @ 1996-07-19 19:50 UTC (permalink / raw)


>>>>> On Fri, 19 Jul 1996 18:17:14 +0200 (MES), koenig@ceres.tat.physik.uni-tuebingen.de (Harald Koenig) said:

  Harald> I'm looking for a gcc/axp running on Liinux/x86 and vice
  Harald> versa incuding bintutils etc. to build a kernel for the
  Harald> "other" box.  if possible I'd like to have cross compilers
  Harald> for both directions.

Building 32-bit binaries on a 64-bit machine should be no problem
(haven't tried it myself though).  The other way round is calling for
trouble.  Last time I looked into it, the binutils, gdb, nor gcc
handled going from a smaller to a larger target well.  Jim Paradis at
one point had patches to build Alpha binaries on an x86, but I don't
think they were ever integrated into the main-sources.

	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: where are gcc cross compiler binaries for x86 &lt;=&gt; axp
  1996-07-19 19:50 David Mosberger-Tang
@ 1996-07-19 20:09 ` Richard Henderson
  1996-07-20  8:22 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Henderson @ 1996-07-19 20:09 UTC (permalink / raw)


> Building 32-bit binaries on a 64-bit machine should be no problem
> (haven't tried it myself though).  The other way round is calling for
> trouble.  Last time I looked into it, the binutils, gdb, nor gcc
> handled going from a smaller to a larger target well.  Jim Paradis at
> one point had patches to build Alpha binaries on an x86, but I don't
> think they were ever integrated into the main-sources.

I think you'll find its much better now -- at least with gcc.

Binutils makes sure to use long long on 32-bit hosts when building
a 64-bit BFD.

As for gcc, there are a number of optimizations that are not done on
32-bit hosts (so you get pretty pathetic code), but it does work.
At tege's request, I tested the effects of one of my alpha changes
here on an m68k-apple-aux machine and things seemed to work ok.

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: where are gcc cross compiler binaries for x86 &lt;=&gt; axp
@ 1996-07-19 20:34 David Mosberger-Tang
  1996-07-19 20:50 ` Richard Henderson
  0 siblings, 1 reply; 6+ messages in thread
From: David Mosberger-Tang @ 1996-07-19 20:34 UTC (permalink / raw)


>>>>> On Fri, 19 Jul 1996 15:09:55 -0500 (CDT), richard@atheist.tamu.edu (Richard Henderson) said:

  >> Building 32-bit binaries on a 64-bit machine should be no problem
  >> (haven't tried it myself though).  The other way round is calling
  >> for trouble.  Last time I looked into it, the binutils, gdb, nor
  >> gcc handled going from a smaller to a larger target well.  Jim
  >> Paradis at one point had patches to build Alpha binaries on an
  >> x86, but I don't think they were ever integrated into the
  >> main-sources.

  Richard> I think you'll find its much better now -- at least with
  Richard> gcc.

  Richard> Binutils makes sure to use long long on 32-bit hosts when
  Richard> building a 64-bit BFD.

Cool!

  Richard> As for gcc, there are a number of optimizations that are
  Richard> not done on 32-bit hosts (so you get pretty pathetic code),
  Richard> but it does work.  At tege's request, I tested the effects
  Richard> of one of my alpha changes here on an m68k-apple-aux
  Richard> machine and things seemed to work ok.

Did you say "stress-test"? ;-))

	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: where are gcc cross compiler binaries for x86 &lt;=&gt; axp
  1996-07-19 20:34 David Mosberger-Tang
@ 1996-07-19 20:50 ` Richard Henderson
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Henderson @ 1996-07-19 20:50 UTC (permalink / raw)


>   Richard> At tege's request, I tested the effects
>   Richard> of one of my alpha changes here on an m68k-apple-aux
>   Richard> machine and things seemed to work ok.
> 
> Did you say "stress-test"? ;-))

Heh.  Not exactly.  I just ran three tests that fired the rule I was
interested in.  However, that it got that far gives hope that it'd be
able to bootstrap a kernel, however poor the resulting code.

r~

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: where are gcc cross compiler binaries for x86 &lt;=&gt; axp
  1996-07-19 19:50 David Mosberger-Tang
  1996-07-19 20:09 ` Richard Henderson
@ 1996-07-20  8:22 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Bogendoerfer @ 1996-07-20  8:22 UTC (permalink / raw)


> Building 32-bit binaries on a 64-bit machine should be no problem
> (haven't tried it myself though).  The other way round is calling for

hmm, I hadn't too much success to build a linux/mips cross compiler on 
an alpha in the first place. I had to define HOST_WIDE_INT as int
to get a working compiler. Binutils gave me a lot more troubles:-(
But with all my hacks I'm now building linux/mips kernel on my alpha:-)

Thomas.

-- 
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 in <4rikft$7g5@linux.cs.Helsinki.FI>]

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-07-20  8:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-19 16:17 where are gcc cross compiler binaries for x86 &lt;=&gt; axp Harald Koenig
  -- strict thread matches above, loose matches on Subject: below --
1996-07-19 19:50 David Mosberger-Tang
1996-07-19 20:09 ` Richard Henderson
1996-07-20  8:22 ` Thomas Bogendoerfer
1996-07-19 20:34 David Mosberger-Tang
1996-07-19 20:50 ` Richard Henderson

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