2.95,2 bug; can not create cross compiler
Mike Stump
mrs@windriver.com
Wed Nov 17 18:17:00 GMT 1999
> From: "Eric Schweitz" <schweitz@nortelnetworks.com>
> To: gcc@gcc.gnu.org, gcc-bugs@gcc.gnu.org
> Date: Wed, 17 Nov 1999 17:13:40 -0500 (EST)
> Reply-To: "Eric Schweitz" <schweitz@nortelnetworks.com>
> +#if defined(CROSS_COMPILE) && !defined(inhibit_libc)
> +#define inhibit_libc
> +#endif
These patches are not quite right (for example, they kill some
functionality on VxWorks). The right approach, if you must is to
define inhibit_libc, if you want to go this route. Though, I prefer
the autoconf approach. No one has contributed that yet.
> BTW, why does the documentation for building a cross-compiler refer
> to a page that hasn't been updated in over a year (the FAQ discusses
> making cross-compilers with GCC 2.8.1)? Doesn't anyone build/use
> cross-compilers with the newer sources? :-)
Sure, we all do! But we through experience we already kew that
--with-headers is more than just a good idea, it is required.
http://egcs.cygnus.com/install/configure.html has a note about this,
but it is obscure. Maybe the phrase `THIS OPTION IS REQUIRED when
building a cross compiler' should be added?
Hope this helps.
More information about the Gcc-bugs
mailing list