[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool-1.4b vs. c++/gcj
From: |
Ralf Corsepius |
Subject: |
libtool-1.4b vs. c++/gcj |
Date: |
Tue, 17 Jul 2001 09:52:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux 2.4.4-64GB-SMP i686; en-US; rv:0.9.1) Gecko/20010714 |
Hi,
Given this configure.in:
AC_INIT(hello.cc)
AM_INIT_AUTOMAKE(libcxx,0)
AC_PROG_CXX
AM_PROG_LIBTOOL
AC_OUTPUT(Makefile)
With autoconf-cvs and automake-cvs libtool-1.4b tries to add
GCJ-support:
# ./configure
..
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/opt/gcc30/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/opt/gcc30/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/opt/gcc30/bin/ld) supports shared
libraries... yes
..
I do not understand why this configure script triggers any check for
GCJ, nor do I understand why these checks claim to successfully
process gcj options.
.. I don't have gcj installed at all!
# which gcc
/opt/gcc30/bin/gcc
# which gcj
# gcc -v
Reading specs from /opt/gcc30/lib/gcc-lib/i486-suse-linux/3.0.1/specs
Configured with: ../configure --enable-threads=posix
--enable-long-long --prefix=/opt/gcc30 --mandir=/opt/gcc30/man
--infodir=/opt/gcc30/info --with-local-prefix=/usr/local
--enable-languages=c,c++ --disable-nls --enable-shared
--with-system-zlib --host=i486-suse-linux --build=i486-suse-linux
Thread model: posix
gcc version 3.0.1 20010713 (prerelease)
Am I missing something? What triggers these GCJ-checks? Are these
auto+tools versions incompatible?
Ralf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- libtool-1.4b vs. c++/gcj,
Ralf Corsepius <=