cross x86->mips (again)
Mike Stump
mrs@windriver.com
Thu Apr 12 10:45:00 GMT 2001
> Date: Thu, 12 Apr 2001 15:09:06 +0200 (MET DST)
> From: Per Fransson <dat98pfr@ludat.lth.se>
> To: gcc@gcc.gnu.org
> Could you elaborate a bit?
> I've been trying to build newlib-1.8.2 but it looks like I need the
> cross compiler to do so. Isn't newlib supposed to be installed
> *after* the cross compiler?
Please see
http://gcc.gnu.org/install/configure.html
at the bottom where it says:
Some options which only apply to building cross compilers:
--with-headers=dir -- Specifies a directory which has target include
files. This options is required when building a cross compiler,
if ${prefix}/${target}/sys-include doesn't pre-exist. These
include files will be copied into the gcc install
directory. Fixincludes will be run on these files to make them
compatible with gcc.
--with-libs="dir1 dir2 ... dirN" -- Specifies a list of directories
which contain the target runtime libraries. These libraries will
be copied into the gcc install directory.
--with-newlib -- Specifies that "newlib" is being used as the
target C library. This causes __eprintf to be omitted from
libgcc.a on the assumption that it will be provided by newlib.
More information about the Gcc
mailing list