execing 'gcc' from within Java application
MNewcomb@tacintel.com
MNewcomb@tacintel.com
Tue Aug 20 07:16:00 GMT 2002
Please Help!
> I have a set of classes that use JNI. I was using make to
> build them. I am switching to Ant. When Ant (a Java process)
> execs off gcc, gcc totally screws with my JNI code. It starts
> replacing all my jobject and jstring variables with
> java::lang::Object and java::lang::String.
>
> It is just happening when I invoke gcc from within ant. I
> check the command line from Ant and it's the exact same thing.
> In fact, I cut and paste from Ant output to an xterm and
> everything compiles fine.
>
> So, how do I tell gcc to just compile the code?
>
> Thanks,
> Michael
More information about the Gcc-help
mailing list