This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: can build toolchain in two steps, but not one


On Fri, 9 Sep 2005, Michael N. Moran wrote:

> Dan Kegel wrote:
> > Robert P. J. Day wrote:
> > >   what that tells me is that the perfectly valid SH3 options -mb and
> > > -m3 are unrecognized, which further suggests that the wrong compiler
> > > is being used since it doesn't recognize SH3-specific options.
> >
> >
> > Maybe the problem is that the kernel makefile is applying target
> > cflags when it shouldn't, for some reason.
>
> This is exactly what I recently found when compiling a 2.6.x kernel
> using GCC 4.0.1 for *ARM*. I had to change the arc/arm/Makefile to
> get rid of the obsolete flags.

credit where credit is due, it was a private e-mail from michael that
pointed me at the appropriate architecture makefile as the source for
some unwanted compiler options when trying to run the *native*
compiler.

my new year's resolution is to use only sanitized headers from now on.

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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