This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: execing 'gcc' from within Java application


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


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