This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: An interface patch
- To: hjl at varesearch dot com (H.J. Lu)
- Subject: Re: An interface patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 11 Aug 1999 00:53:54 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <19990809204242.09D083FC1@varesearch.com>you write:
> I don't think it is a good idea. I need to get a C compiler
> first before I can use it to compile my C library. A warning
> is more appropriate here.
No. I will not accept the patch like that. A warning is totally wrong in
this case. This is a hard error and we should not continue if we can not
determine what kind of EH scheme the target is using.
The right way to build cross compilers is with the --with-headers and
--with-libraries option. That provides you with a location to search for
libc.
> BTW, there is an issue with config.if in gcc/configure.in. config.if
> is called before target_os, target_alias and build_alias are set.
> Fortunately libc_interface is not used in the gcc directory. It would
> be better to move config.if to the place where those variables have
> been set.
Or just pass them in. It's not that difficult.
jeff