can build toolchain in two steps, but not one

Michael N. Moran
Fri Sep 9 14:26:00 GMT 2005

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.

Michael N. Moran           (h) 770 516 7918
5009 Old Field Ct.         (c) 678 521 5460
Kennesaw, GA, USA 30144

"So often times it happens, that we live our lives in chains
  and we never even know we have the key."
The Eagles, "Already Gone"

The Beatles were wrong: 1 & 1 & 1 is 1

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list