public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: execing 'gcc' from within Java application
@ 2002-08-20  7:16 MNewcomb
  0 siblings, 0 replies; 2+ messages in thread
From: MNewcomb @ 2002-08-20  7:16 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* execing 'gcc' from within Java application
@ 2002-08-19 14:15 MNewcomb
  0 siblings, 0 replies; 2+ messages in thread
From: MNewcomb @ 2002-08-19 14:15 UTC (permalink / raw)
  To: gcc-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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-20 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-20  7:16 execing 'gcc' from within Java application MNewcomb
  -- strict thread matches above, loose matches on Subject: below --
2002-08-19 14:15 MNewcomb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).