This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: Patch to eliminate implicit malloc (etc) decls in libsupc++


At 14:06 06.05.2002, Phil Edwards wrote:
>On Sat, May 04, 2002 at 02:04:40AM -0300, Alexandre Oliva wrote:
> > The patch is
> > extremely low risk.
>
>It fails to bootstrap for me.  The top of the v3 build dir is not searched
>for include files, so config.h is not found.  (Presumably Kaveh's test
>succeeded because some other config.h was being found?  A build with -H
>would help here.)
>
>
>/home/pme/build/build-2002-05-06/gcc/xgcc 
>-B/home/pme/build/build-2002-05-06/gcc/ 
>-B/home/pme/build/install-2002-05-06/i686-pc-linux-gnu/bin/ 
>-B/home/pme/build/install-2002-05-06/i686-pc-linux-gnu/lib/ -isystem 
>/home/pme/build/install-2002-05-06/i686-pc-linux-gnu/include 
>-L/home/pme/build/build-2002-05-06/ld -DHAVE_CONFIG_H 
>-I/home/pme/src/unified/libstdc++-v3/../gcc 
>-I/home/pme/src/unified/libstdc++-v3/../include 
>-I/home/pme/build/build-2002-05-06/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu 
>-I/home/pme/build/build-2002-05-06/i686-pc-linux-gnu/libstdc++-v3/include 
>-I/home/pme/src/unified/libstdc++-v3/libsupc++ -g -O2 -D_GNU_SOURCE 
>-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline 
>-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g 
>-DIN_GLIBCPP_V3 -Wno-error -c cxa_demangle.c  -fPIC -DPIC -o cxa_demangle.o
>cc1: warning: ignoring command line option '-fno-implicit-templates'
>cc1: warning: (it is valid for C++ but not the selected language)
>cxa_demangle.c:39:20: config.h: No such file or directory

How does the DEFS variable look like in your Makefile.in/generated 
Makefile? There should be a -I.. in it (it was for me on linux-gnu, 
automake-1.4p5-4)

Franz.


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