[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Libtool should infer mode when running gcj
From: |
Thomas Fitzsimmons |
Subject: |
Libtool should infer mode when running gcj |
Date: |
Mon, 05 Jul 2004 23:45:09 -0400 |
Hi,
We're trying to create Java shared libraries using libtool and gcj.
Unfortunately, libtool can't infer the compilation mode when given a gcj
command. We tried to use standard automake variables to define the
libraries we were creating, but the result was compilation errors:
if /bin/sh ../libtool --mode=compile gcj
--classpath=/home/fitzsim/sources/plugin-src/gcjwebplugin/src:../src
-I/home/fitzsim/install/include -g -O2 -MT
gnu/gcjwebplugin/lib_gnu_gcjwebplugin_la-AppletSecurityManager.lo -MD -MP -MF
"gnu/gcjwebplugin/.deps/lib_gnu_gcjwebplugin_la-AppletSecurityManager.Tpo" -c
-o gnu/gcjwebplugin/lib_gnu_gcjwebplugin_la-AppletSecurityManager.lo `test -f
'gnu/gcjwebplugin/AppletSecurityManager.java' || echo
'/home/fitzsim/sources/plugin-src/gcjwebplugin/src/'`gnu/gcjwebplugin/AppletSecurityManager.java;
\
then mv -f
"gnu/gcjwebplugin/.deps/lib_gnu_gcjwebplugin_la-AppletSecurityManager.Tpo"
"gnu/gcjwebplugin/.deps/lib_gnu_gcjwebplugin_la-AppletSecurityManager.Plo";
else rm -f
"gnu/gcjwebplugin/.deps/lib_gnu_gcjwebplugin_la-AppletSecurityManager.Tpo";
exit 1; fi
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
Shouldn't libtool infer --tag=gcj when gcj is the command?
Tom
- Libtool should infer mode when running gcj,
Thomas Fitzsimmons <=