Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: cross-compile gcc
Date: Thu, 13 Feb 1997 13:21:57 -0600 (CST)	[thread overview]
Message-ID: <199702131921.NAA00339@atheist.tamu.edu> (raw)
In-Reply-To: <199702131531.KAA11977@everest.micro.umass.edu>

> 	Advice on cross compile from alpha-dec-osf3.2 to 
> alpha-unknown-linux and alpha-unknown-linux to alpha-dec-osf3.2
> is  welcome.  What includes and headers are needed?  Do I have
> to patch on both directions?  How to cross compile ld, as and
> especially ar?

Cross compiling with gcc generally works best if you do bits like

  configure --prefix=/usr/local --host=alpha-dec-osf3.2 --target=alpha-linux

This will look for cross utilities in /usr/local/alpha-linux/bin,
system headers in /usr/local/alpha-linux/include, libraries in ...

Cross compiling to linux is easy -- you need all the glibc headers
and libraries.  Cross to osf -- dunno.  You shouldn't have any 
problems if you grab all of /usr/include.  Oh, binutils doesn't 
understand dec's shared libraries, so you'd have to build static there.

r~

--
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

  parent reply	other threads:[~1997-02-13 19:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199702131531.KAA11977@everest.micro.umass.edu>
1997-02-13 16:06 ` cross-compile gcc Jim Nance
1997-02-13 19:21 ` Richard Henderson [this message]
1997-02-13 19:43 DDX
  -- strict thread matches above, loose matches on Subject: below --
1997-02-13 18:35 DDX
1997-02-13 19:22 ` Richard Henderson
1997-02-13 19:26 ` Jim Nance
1997-02-13 15:30 Fude Yao
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