This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: cross-compilation documentation
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Peter Barada <peter at baradas dot org>, dank at kegel dot com, wilson at tuliptree dot org, gcc at gcc dot gnu dot org
- Date: Sun, 22 Jun 2003 10:42:46 -0700
- Subject: Re: cross-compilation documentation
- References: <02F74B2F-A4D6-11D7-AD8C-000393A6D2F2@physics.uc.edu>
Andrew Pinski <pinskia@physics.uc.edu> writes:
> try this patch:
>
> Index: linux.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config/rs6000/linux.h,v
> retrieving revision 1.41
> diff -u -r1.41 linux.h
> --- linux.h 17 Jun 2003 15:53:33 -0000 1.41
> +++ linux.h 22 Jun 2003 17:17:41 -0000
> @@ -91,7 +91,7 @@
> /* Do code reading to identify a signal frame, and set the frame
> state data appropriately. See unwind-dw2.c for the structs. */
>
> -#ifdef IN_LIBGCC2
> +#if defined (IN_LIBGCC2) && !defined (inhibit_libc)
> #include <signal.h>
>
> /* During the 2.5 kernel series the kernel ucontext was changed, but
>
For what it's worth, that looks like the right fix to this immediate
problem. We want to decouple libgcc build from compiler build for
other reasons, but that's sufficiently invasive that it's probably a
3.5 item at this point (the way I wanna do it, it needs bootstrap to
run at top level, and it involves moving a lot of files).
zw