I have been unable to create a static library of java sources using
libtool.
$ cat Makefile.am
noinst_LTLIBRARIES = libhello.la
libhello_la_SOURCES = HelloWorld.java
$ make libhello.la
/bin/sh ./libtool --mode=link gcj-3.4 -g -O2 -o libhello.la HelloWorld.lo
rm -fr .libs/libhello.la
creating libh
> "Per" == Per Bothner <[EMAIL PROTECTED]> writes:
Per> Perhaps we could start by defining some or all of AC_PROG_GCJ,
Per> AC_PROG_JAVAC (the .java->.class compiler), and AC_PROG_JAVA (the
Per> Java .class file "interpreter"). Or perhaps there could be a
Per> AC_JAVA that subsumes all three
Akim Demaille wrote:
>>"Per" == Per Bothner <[EMAIL PROTECTED]> writes:
> Per> Unfortuntely, autoconf 2.52 does not define 'Java' as a language.
> Per> But that can probably be worked around.
>
> Autoconf 2.52+ would be most happy to support Java.
If it is just a matter of the support to com
Anthony Green wrote:
> I take what I previously said about this part of the patch back. It
> doesn't appear to fix anything for me. Is there some other change which
> is missing?
The patch is relative to the libtool.m4 installed into the directory
$prefix/share/aclocal, from CVS libtool, checke
> "Per" == Per Bothner <[EMAIL PROTECTED]> writes:
Per> Unfortuntely, autoconf 2.52 does not define 'Java' as a language.
Per> But that can probably be worked around.
Autoconf 2.52+ would be most happy to support Java.
___
Libtool mailing list
[EM
On Fri, 2002-03-01 at 12:19, Per Bothner wrote:
> (1) Set ac_compile so the proper compiler and flags are
> used when running tests.
I take what I previously said about this part of the patch back. It
doesn't appear to fix anything for me. Is there some other change which
is missing?
AG
___
On Fri, 2002-03-01 at 12:19, Per Bothner wrote:
> This patch to libtool.m4 fixes two problems:
>
> (1) Set ac_compile so the proper compiler and flags are
> used when running tests.
Strangely, configure reports that the -c -o test still fails although
I'm not seeing the build failure I attribute
This patch to libtool.m4 fixes two problems:
(1) Set ac_compile so the proper compiler and flags are
used when running tests.
(2) Does not set -DPIC is the TAG is GCJ.
--
--Per Bothner
[EMAIL PROTECTED] http://www.bothner.com/per/
--- libtool.m4~ Thu Feb 28 23:08:04 2002
+++ libtool
Anthony Green wrote:
> The other bad thing I should mention is the test to see if gcj can use
> both -c and -o. This test is failing for some unknown reason, causing
> bad problems for my project. I don't think libtool should even perform
> this test. gcj is known to always handle -c and -o.
On Fri, Mar 01, 2002 at 06:58:08AM -0800, Anthony Green wrote:
> On Fri, 2002-03-01 at 00:19, Per Bothner wrote:
> > Of course the real fix involves fixing ltmain.sh, but that goes
> > beyond my ability to peer into the bowels of libtool.
>
> The other bad thing I should mention is the test to se
On Fri, 2002-03-01 at 07:15, Albert Chin wrote:
> What version of gcj are you using?
The trunk of the GCC tree (and the 3.1 branch).
AG
___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool
On Fri, Mar 01, 2002 at 06:58:08AM -0800, Anthony Green wrote:
> On Fri, 2002-03-01 at 00:19, Per Bothner wrote:
> > Of course the real fix involves fixing ltmain.sh, but that goes
> > beyond my ability to peer into the bowels of libtool.
>
> The other bad thing I should mention is the test to se
On Fri, 2002-03-01 at 00:19, Per Bothner wrote:
> Of course the real fix involves fixing ltmain.sh, but that goes
> beyond my ability to peer into the bowels of libtool.
The other bad thing I should mention is the test to see if gcj can use
both -c and -o. This test is failing for some unknown r
On Sat, Feb 23, 2002 at 08:08:53AM -0800, Anthony Green wrote:
> I've been using a hacked version of libtool to build shared libraries of
> java code in with gcj. The one problem I had to work around is that
> libtool insists on adding "-DPIC" to the compilation line. gcj's -D is
> different fro
Anthony Green wrote:
> I've been using a hacked version of libtool to build shared libraries
> of java code in with gcj. The one problem I had to work around is
> that libtool insists on adding "-DPIC" to the compilation line. gcj's
> -D is different from gcc and g++. My hack is to simply
I've been using a hacked version of libtool to build shared libraries of
java code in with gcj. The one problem I had to work around is that
libtool insists on adding "-DPIC" to the compilation line. gcj's -D is
different from gcc and g++. My hack is to simply strip out the "-D".
However - now
16 matches
Mail list logo