This is the mail archive of the gcc-patches@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: [PATCH] fix FreeBSD/sparc64 cross build and usability


"David O'Brien" <obrien@FreeBSD.org> writes:

> The patch to config.gcc is needed to build a cross
> host=target=sparc64-x-freebsd5 compiler.  The change to TARGET_DEFAULTS
> is needed in order to build a usable kernel.
>
>
> 2002-02-27  David O'Brien  <obrien@FreeBSD.org>
>
> 	* config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
> 	of "ultrasparc".
> 	* config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
> 	to be broken.
>
> Index: freebsd.h
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/config/sparc/freebsd.h,v
> retrieving revision 1.3
> diff -u -r1.3 freebsd.h
> --- freebsd.h	2002/02/09 21:51:56	1.3
> +++ freebsd.h	2002/02/27 22:32:49
> @@ -91,7 +91,7 @@
>  
>  #undef  TARGET_DEFAULT
>  #define TARGET_DEFAULT \
> -  (MASK_V9 + MASK_64BIT + MASK_PTR64 + MASK_FASTER_STRUCTS \
> +  (MASK_V9 + MASK_64BIT + MASK_PTR64 + /* MASK_FASTER_STRUCTS */ \
>     + MASK_STACK_BIAS + MASK_APP_REGS + MASK_EPILOGUE + MASK_FPU \

Will that work?  You now have "+ +" in there.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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