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


Andreas Jaeger <aj@suse.de> writes:

|> "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.

It is at least syntactically correct, the first one being the binary +
and the second the unary +.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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