From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <355f926bc4b406a1d431e2e7133dbda7.axp-list@archive.invalid> X-Archive-Original-Message-ID: <9612170432.AA06170@scooter> Date: Mon, 16 Dec 1996 23:32:03 -0500 (EST) From: Jim Nance Subject: Re: digital unix <-> linux/alpha portability In-Reply-To: > 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