build status for cross builds?

mike stump mrs@windriver.com
Sat Jan 5 15:59:00 GMT 2002


> Date: Fri, 4 Jan 2002 17:52:59 -0500 (EST)
> From: Paul Koning <pkoning@equallogic.com>
> To: dewar@gnat.com
> Cc: gcc@gcc.gnu.org

> The target I have been talking about is mips.  I expect to be able to
> do something like this:

>    tar xf <gcc tarball>
>    mkdir gccbin; cd gccbin
>    ../gcc-<version>/configure --target=mips-xyz
>    make all

> It seems sensible that this should work.

Doesn't seem sensible to me.

> But the above has *never* worked for me

Asking the compiler to do something that is not sensible will always
result in an error, no matter how often you ask.

You seem to be missing a few, from the documentation:

Some options which only apply to building cross compilers:
@table @code
@item --with-headers=@var{dir}
Specifies a directory
which has target include files.
@emph{This options is required} when building a cross
compiler, if @file{@var{prefix}/@var{target}/sys-include} doesn't pre-exist.
These include files will be copied into the @file{gcc} install directory.
Fixincludes will be run on these files to make them compatible with
GCC.
@item --with-libs=``@var{dir1} @var{dir2} @dots{} @var{dirN}''
Specifies a list of directories which contain the target runtime
libraries.  These libraries will be copied into the @file{gcc} install
directory.



More information about the Gcc mailing list