This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: -fuse-divide-subroutine -vs- gcc 2.95


Tom Tromey wrote:

> I'm committing this patch.  It changes the trunk so that it will not
> use -fuse-divide-subroutine when the compiler does not understand it.
> This lets us build the most current libjava with gcj 2.95.  (This sort
> of backward compatibility isn't always supported, but right now it is
> ok.)
>
> 1999-08-16  Tom Tromey  <tromey@cygnus.com>
>
>         * configure: Rebuilt.
>         * configure.in: Set DIVIDESPEC to empty string if compiler does
>         not support -fuse-divide-subroutine.

This doesn't seem to work. I get the following building libgcj with "gcc version
2.95.1 19990816 (release)"

gcj -g -ffloat-store -o .libs/jv-convert --main=gnu.gcj.convert.Convert
gnu/gcj/convert/BytesToUnicode.o gnu/gcj/convert/Convert.o
gnu/gcj/convert/Input_8859_1.o gnu/gcj/convert/Input_EUCJIS.o
gnu/gcj/convert/Input_JavaSrc.o gnu/gcj/convert/Input_SJIS.o
gnu/gcj/convert/Input_UTF8.o gnu/gcj/convert/Output_8859_1.o
gnu/gcj/convert/Output_EUCJIS.o gnu/gcj/convert/Output_JavaSrc.o
gnu/gcj/convert/Output_SJIS.o gnu/gcj/convert/Output_UTF8.o
gnu/gcj/convert/UnicodeToBytes.o .libs/libgcj.so ./../boehm-gc/.libs/libgcjgc.so
-L/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava/../boehm-gc/.libs
-lpthread ./../zlib/.libs/libzgcj.so
-L/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava/../zlib/.libs
-L/home/bryce/projects/libgcj/build/i686-pc-linux-gnu/libjava/.libs  -Wl,--rpath
-Wl,/usr/local/egcs/lib
cc1: Invalid option `-fno-use-divide-subroutine'

  [ bryce ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]