On 2002.06.12 08:39 Diane Holt wrote:
> Actually, no -- I meant forking within the <javac> task. (Again, see
> the Javac task documentation for details.)
okidz@bdg:~/hello$ ant
Buildfile: build.xml
compile:
[javac] Since compiler setting isn't classic or modern,ignoring
fork setting.
[javac] Compiling 1 source file to /home/okidz/hello
[javac] Since compiler setting isn't classic or modern,ignoring
fork setting.
[javac] gcj: cannot specify both -C and -o
BUILD FAILED
/home/okidz/hello/build.xml:7: Compile failed; see the compiler error
output for details.
Total time: 5 seconds
okidz@bdg:~/hello$ more build.xml
<project default="compile" basedir=".">
<target name="compile">
<javac srcdir="."
includes="Hello.java"
destdir="."
compiler="gcj"
fork="yes">
<compilerarg line="--main=Hello -o hello"/>
</javac>
</target>
</project>
I believe the message is pretty clear: Wanna be going native? Use
"make".
Oki
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>