Opened 5 years ago

Closed 5 years ago

#319 closed defect (fixed)

the executable named after a option is created if -o is not specified

Reported by: komh 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 komh 5 years ago.
patch for an output file name problem

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by komh

patch for an output file name problem

comment:1 Changed 5 years ago by bird

  • Milestone changed from libc-0.7 to libc-0.6.6

comment:3 Changed 5 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 5 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

Backported and fixed up r3921, r3922 and r3923.

Note: See TracTickets for help on using tickets.