This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
--enable-cshadow-headers remaining bits
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: --enable-cshadow-headers remaining bits
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Thu, 25 May 2000 06:40:57 -0700
Nathan:
Some thoughts to ponder this long weekend. . . .
The configure-time option has changed to --enable-cshadow-headers.
Parts that need clarification:
1) Install bits not done. I leave this as an exercise to the person so
quaintly referred to as the "make install" maintainer. Where are
$bld/cshadow and $src/shadow to be installed? What exactly is
$dest_dir?
(from)
[Note for maintainer of "make install": shadow/ dir should
get copied to $dest_dir/include.]
We are definitely going to need a list of all cshadow and shadow headers before the install bits can get hacked out.
2) How is mkinclosure invoked? Have linux, need solaris. Specifically,
how do we find the -G arguments in:
$(top_srcdir)/mkinclosure \
"-I $(top_builddir)/../../gcc/include/ -I /usr/include -G machine/ansi.h"
vs.
-I ../../gcc/include/ -I /usr/include -G machine/ansi.h
It looks like this part might have to be tricked out per
target_os. Ugh. What a drag. Phil, you might want to try and hack this
for solaris if you get a chance. I think the -G options should be
AC_SUBST(CSHADOW_EVIL_EVIL_DIE_DIE) or something. Now I'm starting to
understand the pejorative naming...
3) Elaborate on "-D_ISOC9X_SOURCE": is this needed for linux, for
solaris, for gcc, what? Does this need to be defined before
"-I../../../src.egcs/libstdc++-v3/shadow -I/cshadow" includes are
searched? Will the same thing be defined or will different things need
to be defined on a per-platform basis?
4) Should "-I../../../src.egcs/libstdc++-v3/shadow -I/cshadow"
includes be searched when building the library itself? Assuming yes.
5) having problems with script:
Making all in src
make[2]: Entering directory `/mnt/hd/bliss/bld-x86-gcc-3/i586-pc-linux-gnu/libstdc++-v3/src'
../../../../src.egcs/libstdc++-v3/mkinclosure \
"-I ../../../gcc/include/ -I /usr/include/ -G machine/ansi.h" | ../../../../src.egcs/libstdc++-v3/mkcshadow;
Creating cshadow.
Creating...
../../../../src.egcs/libstdc++-v3/mkinclosure: [: ==: binary operator expected
../../../../src.egcs/libstdc++-v3/mkinclosure: [: ==: binary operator expected
[snip, ad infinium]