This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cross-compilation documentation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]