This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Why is GCJ shy of overwriting a .class file?


Andrew Haley wrote:
Ranjit Mathew writes:
> Hi,
> > gcj happily overwrites object files, executables,
> etc. after compilation, but it complains if a class
> file already exists.

Not to me. Please give an example of this behaviour.
On Windows, I get:
------------------------ 8< ----------------------------
C:\src\tmp>gcj -C T.java

C:\src\tmp>gcj -C T.java
jc1.exe: File exists: can't create ./T.class
------------------------ 8< ----------------------------

Strangely however, on Solaris I *don't* get the error.

???

Ranjit.

--
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/




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