This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Configuration issues on Itanium VMS
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Douglas B Rupp <rupp at gnat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 8 Nov 2004 18:43:49 +0000 (UTC)
- Subject: Re: Configuration issues on Itanium VMS
- References: <001101c4c5c1$f83f8950$6401a8c0@Jinx>
On Mon, 8 Nov 2004, Douglas B Rupp wrote:
> Configure, e.g. libiberty/configure, generates conftest programs to decide if
> particular CRTL functions exist in the host. If the compile or link is
> unsucessful, e.g. undefined symbols in the link, then the function is
> assumed not to exist. *Configure doesn't bother to include the necessary
> header files in the programs it generates, so all CRTL functions show up as
> undefined with Gcc*.
Standard C and POSIX say that you don't need to include the headers to use
standard functions which can be used without using any type defined in a
header, so requiring headers to be included is a bug in the GCC
configuration. That doesn't mean it's easy to fix in GCC.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)