Bug 311734 (MONO34486) - the -o option of mcs does not work as expected
Summary: the -o option of mcs does not work as expected
Status: RESOLVED FIXED
Alias: MONO34486
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Linux
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2002-11-22 18:45 UTC by Frederik Nosi
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:03:47 UTC


---- Reported by fredi@e-salute.it 2002-11-22 11:45:16 MST ----

[This is just a cosmetic thing]

Description of Problem:
the -o option of mcs adds an .exe extension to the filename

Steps to reproduce the problem:
Just compile with the "-o filename" option

Actual Results:

[fredi@crusher bug]$ ls
hello.cs
[fredi@crusher bug]$ mcs hello.cs -o hello
Compilation succeeded
[fredi@crusher bug]$ ls
hello.cs  hello.exe
              ^^^^^^^
[fredi@crusher bug]$


Expected Results:
[fredi@crusher bug]$ ls
hello.cs
[fredi@crusher bug]$ mcs hello.cs -o hello
Compilation succeeded
[fredi@crusher bug]$ ls
hello.cs  hello
              ^^^
[fredi@crusher bug]$


How often does this happen? 
Everytime



---- Additional Comments From miguel@ximian.com 2002-11-22 13:49:45 MST ----

I thought I had to add the .exe, but turns out its not needed.

Fixed.


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Mandrake 9.0, mono in rpm format downloaded from www.go-mono.org</cf_op_sys_details>