public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* libstdc++ without g++ - alas ...
@ 2000-11-14 13:51 Toon Moene
  2000-11-14 14:03 ` Phil Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Toon Moene @ 2000-11-14 13:51 UTC (permalink / raw)
  To: gcc

L.S.,

I tried this

../gcc/configure --disable-checking --enable-languages=c,f77
--prefix=/usr/snp && make bootstrap

tonight.  Alas, it fails building libstdc++:

make[4]: Entering directory
`/home/toon/compilers/snapshots/obj/i686-pc-linux-gnu/libstdc++-v3/libio'
/bin/sh ../libtool --mode=compile
/home/toon/compilers/snapshots/obj/gcc/xgcc
-B/home/toon/compilers/snapshots/obj/gcc/
-B/usr/snp/i686-pc-linux-gnu/bin/ -B/usr/snp/i686-pc-linux-gnu/lib/
-isystem /usr/snp/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I.
-I../../../../gcc/libstdc++-v3/libio -I.. -nostdinc++        
-I../include -I../../../../gcc/libstdc++-v3/include     -I../libio
-I../../../../gcc/libstdc++-v3/libio -I/usr/snp/include     
-D_GNU_SOURCE -g  -g -O2 -c
../../../../gcc/libstdc++-v3/libio/filedoalloc.c
mkdir .libs
/home/toon/compilers/snapshots/obj/gcc/xgcc
-B/home/toon/compilers/snapshots/obj/gcc/
-B/usr/snp/i686-pc-linux-gnu/bin/ -B/usr/snp/i686-pc-linux-gnu/lib/
-isystem /usr/snp/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I.
-I../../../../gcc/libstdc++-v3/libio -I.. -nostdinc++ -I../include
-I../../../../gcc/libstdc++-v3/include -I../libio
-I../../../../gcc/libstdc++-v3/libio -I/usr/snp/include -D_GNU_SOURCE -g
-g -O2 -c ../../../../gcc/libstdc++-v3/libio/filedoalloc.c  -fPIC -DPIC
-o .libs/filedoalloc.o
In file included from
../../../../gcc/libstdc++-v3/libio/filedoalloc.c:48:
../../../../gcc/libstdc++-v3/libio/libioP.h:32:29: bits/libc-lock.h: No
such file or directory
../../../../gcc/libstdc++-v3/libio/_G_config.h:69: parse error before
"_G_fpos64_t"
../../../../gcc/libstdc++-v3/libio/_G_config.h:69: warning: data
definition has no type or storage class
../../../../gcc/libstdc++-v3/libio/libio.h:309: parse error before
"__off64_t"

etc, ....

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libstdc++ without g++ - alas ...
  2000-11-14 13:51 libstdc++ without g++ - alas Toon Moene
@ 2000-11-14 14:03 ` Phil Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Edwards @ 2000-11-14 14:03 UTC (permalink / raw)
  To: Toon Moene; +Cc: gcc

On Tue, Nov 14, 2000 at 10:31:12PM +0100, Toon Moene wrote:
> 
> ../gcc/configure --disable-checking --enable-languages=c,f77
> --prefix=/usr/snp && make bootstrap
> 
> tonight.  Alas, it fails building libstdc++:

We need some way of telling configure to ignore libstdc++ if C++ isn't an
enabled language.  This sounds like some variant of the patch I sent in
to only configure libz if Java is an enabled language (the original patch
subject was something like "don't build libzgcj all the time" on gcc-patches,
but it is a specific case and not suitable for general solutions).


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-14 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-14 13:51 libstdc++ without g++ - alas Toon Moene
2000-11-14 14:03 ` Phil Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).