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: runtime part of gcj -D



Anthony Green writes:

> Very very cool.  We'll also need this patch in order to build libgcj.
> When building shared libraries, libtool will often compile files using
> -DPIC.  Gcj used to ignore this, but it can't anymore.

> +      if test "`basename $srcfile .java`" != "`basename $srcfile`" && test "`basename $srcfile .class`" != "`basename $srcfile`"; then

Actually, I think the `&&' should be replaced by `||'. `!=' tests that
the file has the provided extension.

./A

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