This is the mail archive of the gcc-prs@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]

java/1474: gcj --main leaves file in /tmp



>Number:         1474
>Category:       java
>Synopsis:       gcj --main leaves file in /tmp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:20:32 PST 2000
>Closed-Date:    Wed Nov 10 11:56:18 PST 1999
>Last-Modified:  Wed Nov 10 12:00:01 PST 1999
>Originator:     Tom Tromey
>Release:        current cvs
>Organization:
>Environment:

>Description:
If I use gcj --main, I get a file left in /tmp:

creche. ls /tmp/cc*main
ls: /tmp/cc*main: No such file or directory
creche. gcj --main=Bug Bug.java -o B
creche. ls /tmp/cc*main
/tmp/ccHcH2lgmain

I imagine this is related to this change:

1999-10-14  Tom Tromey  <tromey@cygnus.com>

	* jvgenmain.c (usage): New function.
	(main): Use it.  Also, handle `-D' options.
	* jvspec.c (lang_specific_driver): Recognize -D.
	(jvgenmain_spec): Added `%{D*}' to jvgenmain invocation.

	* jvspec.c (jvgenmain_spec): Use `%umain', not just `%u'.


I haven't investigated the problem yet.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Formerly PR gcj/92

Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Fri Nov  5 09:55:48 1999
Responsible-Changed-Why:
    I broke it.

From: tromey@cygnus.com
To: apbianco@cygnus.com, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:  
Subject: Re: gcj/92
Date: 5 Nov 1999 17:55:48 -0000

 Synopsis: gcj --main leaves file in /tmp
 
 Responsible-Changed-From-To: apbianco->tromey
 Responsible-Changed-By: tromey
 Responsible-Changed-When: Fri Nov  5 09:55:48 1999
 Responsible-Changed-Why:
     I broke it.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=92
State-Changed-From-To: open->analyzed
State-Changed-By: tromey
State-Changed-When: Wed Nov 10 09:38:53 1999
State-Changed-Why:
    The problem is the `%umain%O' spec in jvspec.c
    This form is not supported.
    `%u%O' might work (but might have problems when saving
    temp files).
    `%umain' might work.
    Otherwise, changing gcc.c to support this form will
    definitely work.
    I'm looking at it.

From: tromey@cygnus.com
To: java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:  
Subject: Re: gcj/92
Date: 10 Nov 1999 17:38:53 -0000

 Synopsis: gcj --main leaves file in /tmp
 
 State-Changed-From-To: open->analyzed
 State-Changed-By: tromey
 State-Changed-When: Wed Nov 10 09:38:53 1999
 State-Changed-Why:
     The problem is the `%umain%O' spec in jvspec.c
     This form is not supported.
     `%u%O' might work (but might have problems when saving
     temp files).
     `%umain' might work.
     Otherwise, changing gcc.c to support this form will
     definitely work.
     I'm looking at it.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=92
State-Changed-From-To: analyzed->closed
State-Changed-By: tromey
State-Changed-When: Wed Nov 10 11:56:18 1999
State-Changed-Why:
    I checked in the third fix; gcc.c now supports
    "%umain%O"

From: tromey@cygnus.com
To: java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:  
Subject: Re: gcj/92
Date: 10 Nov 1999 19:56:18 -0000

 Synopsis: gcj --main leaves file in /tmp
 
 State-Changed-From-To: analyzed->closed
 State-Changed-By: tromey
 State-Changed-When: Wed Nov 10 11:56:18 1999
 State-Changed-Why:
     I checked in the third fix; gcc.c now supports
     "%umain%O"
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=92
>Unformatted:



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