|
libtool versus gcj: msg#00019gnu.libtool.general
Hello, I observe the following problem with libtool 1.5.2 and with gcc/g++/gcj 3.3.3 installed: The gcj related tests all fail checking if gcj PIC flag -fPIC works... no checking if gcj supports -c -o file.o... no On further inspection it turns out, that gcj is apparently invoked as $GCJ $CFLAGS $CPPFLAGS instead of $GCJ $GCJFLAGS The output in config.log reads gcj -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/local/include/ncurses -I/usr/local/ActivePython-2.3/include -pipe -pthread -O3 -fomit-frame-pointer -ffast-math -march=k6 -m3dnow -mmmx -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/local/include/ncurses -I/usr/local/ActivePython-2.3/include -fPIC conftest.java gcj: can't specify `-D' without `--main' My environment is export PATH=/usr/local/gcc/bin:$PATH export MANPATH=/usr/local/gcc/man:$MANPATH export INFOPATH=/usr/local/gcc/info:$INFOPATH export INFODIR=/usr/local/gcc/info:$INFODIR export CC=gcc export CXX=g++ export GCJ=gcj export CPPFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/local/include/ncurses -I/usr/local/ActivePython-2.3/include" export PICFLAGS="-fPIC -DPIC" export FLAGS="$CPPFLAGS -pipe -pthread -O3 -fomit-frame-pointer -ffast-math -march=k6 -m3dnow -mmmx" export CFLAGS="$FLAGS" export LIBCFLAGS="$CFLAGS $PICFLAGS" export CXXFLAGS=$FLAGS export LIBCXXFLAGS="$CXXFLAGS $PICFLAGS" export GCJFLAGS="-pipe -pthread -Wp,-D_REENTRANT -Wp,-D_GNU_SOURCE -Wp,-D_FILE_OFFSET_BITS=64 -O2 -fexpensive-optimizations -ffast-math -march=k6 -m3dnow -mmmx" export LDFLAGS="-O3 -Wl,-O3 -L/usr/local/lib -L/usr/X11R6/lib -lrt -lpthread -lutil" export LD_RUN_PATH=/usr/local/lib export AR_FLAGS=crs This is on a SuSE 7.3 (AMD 32bit) Installation. One minor glitch: checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no . . . appending configuration tag "F77" to libtool Shouldn't the second line/test omitted, if there is no Fortran compiler found? And why tag "F77" without Fortran compiler? Greetings Franz |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Get cheap via-gra: 00019, Della Blackwell |
|---|---|
| Next by Date: | Re: Dlopening documentation: 00019, Albert Chin |
| Previous by Thread: | more on seriali: 00019, Patrick Welche |
| Next by Thread: | Link flags that get ignored: 00019, Josep M. Perez Cancer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |