This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix FreeBSD/sparc64 cross build and usability
- From: Andreas Jaeger <aj at suse dot de>
- To: obrien at FreeBSD dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 28 Feb 2002 14:34:15 +0100
- Subject: Re: [PATCH] fix FreeBSD/sparc64 cross build and usability
- References: <20020227143623.A10892@dragon.nuxi.com>
"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