From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199702131921.NAA00339@atheist.tamu.edu> Date: Thu, 13 Feb 1997 13:21:57 -0600 (CST) From: Richard Henderson Subject: Re: cross-compile gcc 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