This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

build failure (from configure patch?)



One of the recent changes to configure.in (I'd assume Mumit's float-support
patch on the 21st; that's the only change to configure.in lately) is doing
weird things to wchars under Linux.  I've missed the last couple days'
worth of mailing list, but here's some experimental data for you whilst
I browse the archives.

The 'configure' output:

    checking for wchar.h... no
    [srcdir]/libstdc++/configure: test: =: unary operator expected
    checking for wchar.h... (cached) no
    [srcdir]/libstdc++/configure: test: =: unary operator expected
    configure: warning: standard header wchar.h does not have WCHAR_MIN or
         WCHAR_MAX
    checking for glibc 2... no

and if I try to build it anyhow:

    running mknumeric_limits
    [srcdir]/libstdc++/src/gen-num-limits.cc:44: wchar.h: No such file or directory
    gen-num-limits failed to build, exiting.
    gmake[2]: *** [../bits/std_limits.h] Error 1

Some possibly-relevant figures:

    [disaster 430]> grep wchar config.cache
    ac_cv_header_wchar_h=${ac_cv_header_wchar_h='no'}
    [disaster 431]> uname -a
    Linux disaster 2.0.33 #1 Fri May 30 08:41:50 EDT 1997 i586
    [disaster 432]> g++ -v
    Reading specs from /usr/home/pedwards/G/lib/gcc-lib/i586-pc-linux-gnulibc1/2.95.1/specs
    gcc version 2.95.1 19990816 (release)
    [disaster 433]>

I do not have anything approaching root privs on this box, so if something
is hopelessly out of date, then I'm just SOL (no big deal).  This box is
the only one that will CVS through the firewalls, which is why I'm using it.


(If you reply to the list, please don't cc another copy to me.  Thanks!)
Phil
Save the whales.  Feed the hungry.  Free the mallocs.


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