This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
problems with shadow headers
- To: libstdc++ at sourceware dot cygnus dot com, ncm at zembu dot com
- Subject: problems with shadow headers
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Sun, 23 Jul 2000 23:55:45 -0700
Nathan,
As first noticed here:
http://sources.redhat.com/ml/libstdc++/2000-07/msg00146.html
There were problems with correctly setting the include paths for
shadow headers. After fixing them, I am now unable to compile when
using --enable-cshadow-headers.
Here's the current compile line for src/limitsMEMBERS.lo:
/mnt/hd/bliss/bld-x86-gcc-3/gcc/g++ -B/mnt/hd/bliss/H-x86-gcc-3/i586-pc-linux/bin/ -B/mnt/hd/bliss/H-x86-gcc-3/i586-pc-linux/lib/ -B/mnt/hd/bliss/bld-x86-gcc-3/gcc/ -isystem /mnt/hd/bliss/H-x86-gcc-3/i586-pc-linux/include -L/mnt/hd/bliss/bld-x86-gcc-3/i586-pc-linux/libstdc++ -DHAVE_CONFIG_H -I. -I../../../../src.gcc/libstdc++-v3/src -I.. -D_GNU_SOURCE -nostdinc++ -I../../../../src.gcc/libstdc++-v3 -I../libio -I../../../../src.gcc/libstdc++-v3/libio -I../../../../src.gcc/libstdc++-v3/config/cpu/i486 -I../../../../src.gcc/libstdc++-v3/config/gnu-linux -I../../../../src.gcc/libstdc++-v3/shadow -I../cshadow -I/mnt/hd/bliss/H-x86-gcc-3/include -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -Werror -Wno-unknown-pragmas -ffunction-sections -fdata-sections -O0 -ggdb -H -c limitsMEMBERS.cc -fPIC -DPIC -o .libs/limitsMEMBERS.lo
../bits/std_limits.h
. ../bits/c++config.h
. ../../../../src.gcc/libstdc++-v3/bits/std_cfloat.h
.. ../../../../src.gcc/libstdc++-v3/shadow/float.h
... ../../../../src.gcc/libstdc++-v3/bits/generic_shadow.h
In file included from ../../../../src.gcc/libstdc++-v3/shadow/float.h:36,
from ../../../../src.gcc/libstdc++-v3/bits/std_cfloat.h:39,
from ../bits/std_limits.h:46,
from limitsMEMBERS.cc:37:
../../../../src.gcc/libstdc++-v3/bits/generic_shadow.h:49:22: cfloat: No such file or directory
This is what the old behavior did, which appeared to work, but which
really just ignored the (src)/shadow and (bld)/cshadow directories (as
the pathnames to them were incorrect...)
../bits/std_limits.h
. ../bits/c++config.h
. ../../../../src.gcc/libstdc++-v3/bits/std_cfloat.h
.. /mnt/hd/soma/bld-x86-gcc-3/gcc/include/float.h
Adding (src)/std is not possible due to circular dependencies..
Thoughts?
-benjamin