Opened 11 years ago
Closed 11 years ago
#319 closed defect (fixed)
the executable named after a option is created if -o is not specified
| Reported by: | KO Myung-Hun | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | libc-0.6.6 |
| Component: | gcc | Version: | 0.6.5 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hi/2.
For examples,
gcc -lc test.c
creates -lc.exe instead of test.exe
Similarily,
gcc -Wl,-Bstatic test.c
creates -Bstatic.exe not test.exe.
Attachments (1)
Change History (5)
by , 11 years ago
| Attachment: | output_name.diff added |
|---|
comment:1 by , 11 years ago
| Milestone: | libc-0.7 → libc-0.6.6 |
|---|
What's you're asking for is a backport of https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=101934 and https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=101993 .
comment:2 by , 11 years ago
No, it's a backport of https://github.com/psmedley/gcc/commit/667cbd1fe354442c0e07e80376bd9783be5c4828.
No plan to fix ?
comment:3 by , 11 years ago
| change is also required for it to work, since spec_lang will be NULL unless the -x option is used. |
comment:4 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

patch for an output file name problem