This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problems building cross-compiler for sparc-sun-solaris on x86
- From: "H . J . Lu" <hjl at lucon dot org>
- To: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Cc: Rupert Wood <me at rupey dot net>,'Per Fransson' <per dot fransson dot 768 at student dot lu dot se>, gcc at gcc dot gnu dot org
- Date: Mon, 8 Apr 2002 12:22:19 -0700
- Subject: Re: problems building cross-compiler for sparc-sun-solaris on x86
- References: <616BE6A276E3714788D2AC35C40CD18D561640@whale.softwire.co.uk> <3CB1EB67.4CFF8E4C@OARcorp.com>
On Mon, Apr 08, 2002 at 02:11:35PM -0500, Joel Sherrill wrote:
> In the past I have managed to get a cross binutils and gcc built
> like this but some of the programs I have tried to build end
> up not linking because they can't find some of the dynamic loading
> symbols. Has anyone extensively used a GNU/Linux->Solaris Sparc
> cross compiler?
How extensive is "extensively?" I built a cross compiler hosted
on Solaris Sparc to Linux/PPC on Linux/x86. BTW, I don't think
you can build a cross compiler to Solaris without some changes
since gcc has /usr/xxx/xxx hardcoded for Solaris. I posted a patch
a long time ago. You may find it in the gcc mailing list archive.
H.J.