This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
gcj/92: gcj --main leaves file in /tmp
- To: java-gnats at sourceware dot cygnus dot com
- Subject: gcj/92: gcj --main leaves file in /tmp
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 5 Nov 1999 17:44:34 -0000
- Reply-To: Tom Tromey <tromey at cygnus dot com>
- Resent-Cc: java-prs at sourceware dot cygnus dot com, green at cygnus dot com
- Resent-Reply-To: java-gnats@sourceware.cygnus.com, Tom Tromey <tromey@cygnus.com>
>Number: 92
>Category: gcj
>Synopsis: gcj --main leaves file in /tmp
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 05 09:50:00 PST 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: