From: dooleys@snowy.net.au (dooley)
Subject: Re: Redhat linux -> ecoff binaries?
Date: 19 Feb 2004 22:11:41 -0800 [thread overview]
Message-ID: <1ca82fc6.0402192211.d74691d@posting.google.com> (raw)
In-Reply-To: c117pq$38g$1@news-int.gatech.edu
"Peter Sassone" <pete@play.com> wrote in message news:<c117pq$38g$1@news-int.gatech.edu>...
> I was hoping someone could help me with this:
>
> I have acquired an old AlphaStation 21064 with Redhat 7.2 from a collegue.
> My goal is to use this machine to compile alpha ecoff binaries for some
> architecture and compiler research, but we don't have a copy of DEC unix or
> Compaq c.
>
> Compiling hello world with the default gcc 2.95 produces an elf binary, and
> adding -Wl,-oformat,ecoff-littlealpha gives errors about no libc.so.6.1. I
> think it means that the installed glibc is elf, instead of the expected
> ecoff, which is the case.
>
> On a hunch, I made cross-binutils (2.11) and cross-gcc (3.3.2) to target
> alpha-dec-osf4, so that I could compile glibc into an ecoff format. Problem
> is that though the new gcc successfully compiles programs into objects, it
> can't link in the c runtime crt0.o. I believe that Linux elf systems use
> crt1.o, so understandably there's no crt0.o. But I can't find any
> package/source/webpage/etc that can provides the right crt0.o.
>
> Now, I did find the following:
> www.kernel.org/pub/linux/libs/klibc/cvsroot/klibc/arch/alpha/crt0.S,v
> Which does compile into a crt0.o file, but it gives funky "multiple
> definition of main" and "relocation trucated" errors when I use it to link,
> so I don't think its the right crt0.
>
> So, I have two big questions I hope someone can answer:
> 1. Am I going down the easiest path to make ecoff executables?
> I'd prefer not buy DEC unix and using gcc would be beneficial
> to my research.
> 2. If this is the right path, then where can I get/make the right
> crt0.o? I don't have access to any other Alpha systems to
> steal it from.
>
> Thanks for any help,
see http://sources.redhat.com/ml/crossgcc/2003-09/msg00110.html
they seem to know what they are talking about
If this is for "non commercial" use you can get Tru64 and the compilers
for $US 99 from HP
Phil
next prev parent reply other threads:[~2004-02-20 6:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-19 2:49 Redhat linux -> ecoff binaries? Peter Sassone
2004-02-19 2:51 ` Jafir Elkurd
2004-02-19 3:34 ` Peter Sassone
2004-02-20 3:22 ` fybar
2004-02-19 6:52 ` Peter Sassone
2004-02-19 14:10 ` Followup
2004-02-19 14:03 ` Juhana Paavola
2004-02-20 6:11 ` dooley [this message]
2004-02-20 18:42 ` Peter Sassone
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