Opened 10 years ago

Closed 10 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)

output_name.diff (543 bytes) - added by KO Myung-Hun 10 years ago.
patch for an output file name problem

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by KO Myung-Hun

Attachment: output_name.diff added

patch for an output file name problem

comment:1 Changed 10 years ago by bird

Milestone: libc-0.7libc-0.6.6

comment:2 Changed 10 years ago by KO Myung-Hun

comment:3 Changed 10 years ago by bird

Yes, it is a backport of those changesets! But I see your && ->
change is also required for it to work, since spec_lang will be NULL unless the -x option is used.

comment:4 Changed 10 years ago by bird

Resolution: fixed
Status: newclosed

Backported and fixed up r3921, r3922 and r3923.

Note: See TracTickets for help on using tickets.