Configuration issues on Itanium VMS
Joseph S. Myers
joseph@codesourcery.com
Mon Nov 8 18:53:00 GMT 2004
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)
More information about the Gcc
mailing list