This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Configuration issues on Itanium VMS


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]