This is the mail archive of the crossgcc@sources.redhat.com 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: compile error when trying to build for SH3eb


On Fri, 1 Apr 2005, Dan Kegel wrote:

> Robert P. J. Day wrote:
> >   having been away from trying to build a toolchain for sh3eb for a
> > while, i tried to reproduce a previous build with similar files, and
> > got:
> >
> > ...
> > + KERNEL_PATCHLEVEL=6
> > + case "$KERNEL_VERSION.$KERNEL_PATCHLEVEL.x" in
> > + case $ARCH in
> > + make ARCH=sh prepare include/linux/version.h
> >   SPLIT   include/linux/autoconf.h -> include/config/*
> >   CC      scripts/mod/empty.o
> > cc1: error: invalid option `b'
> > cc1: error: invalid option `3'
> > make[2]: *** [scripts/mod/empty.o] Error 1
> > make[1]: *** [scripts/mod] Error 2
> > make: *** [scripts] Error 2
> >
> >
> >   um ... i'm assuming those cc1 errors refer to options -m3 and -mb,
> > which are gcc options for sh3 and big endian.  what amazingly silly
> > thing have i done here?
>
> Try it with a 2.4 kernel.  2.6 uses the compiler to install the headers :-(

yes, i just noticed the bit in crosstool.sh that caused the problem.
ok, will try with 2.4.  i'm assuming that won't affect the eventual
toolchain, right?

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]