Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jim Nance <jlnance@avanticorp.com>
Subject: Re: digital unix &lt;-&gt; linux/alpha portability
Date: Mon, 16 Dec 1996 23:32:03 -0500 (EST)	[thread overview]
Message-ID: <355f926bc4b406a1d431e2e7133dbda7.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.961216213752.222B-100000@udb.ceci.at>

> 1) Is it somehow possible to do the same thing under Linux/Alpha (i.e.
>    squeezing everything in the lowest 4GB of the address space.)?
>    We've tried to fool around with the ld options "-Tbss -Tdata" and
>    "-Ttext" to force everything into the low 4GB but all we've got
>    was an executable that immediately got a "Signal 11" (and even
>    killed the shell it was started from :-( ).  

Just as a hunch, try compiling something under Digital Unix with the
-taso flag and see if you can figure out where it put the bss, data, and
text segments.  Then see if you can duplicate this under linux by setting
the flags you mentioned above.  I would link statically to start
with, you can do the shared libs/loader later.

> 2) How about the compatibility of the gcc-assembler and the 
>    digital unix assembler? -- Is it possible to get the same assembler
>    code compiled by gcc and the digital unix assembler as well? -- If not,
>    are the differences small enough to be eliminated by preprocessing
>    the assembler listing with a small perl script or such?

You can use the Digital Unix assmebler with gcc, so I think it should be.
Note that Digital Unix generates ECOFF executables.  RedHat 4.0 is an
ELF based system, so you might have some trouble using the default tools,
but older version of RedHat were ECOFF.  Linux/Alpha can run both ECOFF
and ELF executables.

Jim

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1996-12-17  4:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.95.961216213752.222B-100000@udb.ceci.at>
1996-12-17  4:32 ` Jim Nance [this message]
1996-12-17  9:53 ` digital unix &lt;-&gt; linux/alpha portability Iwao Jack Makino
     [not found] <9612170432.AA06170@scooter>
1996-12-17 22:22 ` Christian Czezatke
1996-12-16 23:12 Christian Czezatke
read-only archive

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