This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Building IA-64 gcc breaks
On Thu, May 08, 2003 at 09:33:35PM -0400, Daniel Jacobowitz wrote:
>
> I've been meaning to fix the process for glibc so that the way I do
> this is somewhat simpler, but I never get around to it...
>
> There's a problem with your patch: you may need in some cases to do:
> 6. Rebuild glibc
> because code from libgcc may end up exported by glibc or used in the
> applications built at the same time. Here's a better way to do it.
>
> 1. Build binutils
> 2. Install glibc's headers, using make install_headers. This
> currently requires a bit of additional hand-holding and
> configure-fooling.
> 3. Build a minimal C cross compiler; it will be slightly less minimal,
> because it will include unwinding et cetera.
> 4. Build glibc.
> 5. Build real cross compilers.
Fixes to the builds of any of the tools to make this easier would be
greatly appreciated. I don't actually need to do cross builds for
ia64, but do for powerpc64 where I frequently get things wrong and end
up using a glibc that was built separately.
This all ties in with the tutorial that Robert Schiele is giving at the
GCC Summit <http://www.gccsummit.org>, which will further enlighten us.
Janis