This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/674: -omagic and -o magic have different effects
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/674: -omagic and -o magic have different effects
- From: anthonyu at yahoo dot com
- Date: 23 Oct 2000 10:17:38 -0000
- Reply-To: anthonyu at yahoo dot com
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, anthonyu@yahoo.com
>Number: 674
>Category: c
>Synopsis: -omagic and -o magic have different effects
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 23 03:26:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: me
>Release: 2.95.1
>Organization:
>Environment:
i586-pc-linux-gnu
>Description:
anthonyu@original:~/dentist-0.7[1]$ ls magic a.out
/bin/ls: magic: No such file or directory
/bin/ls: a.out: No such file or directory
anthonyu@original:~/dentist-0.7[1]$ gcc -omagic magic.c
anthonyu@original:~/dentist-0.7[0]$ ls magic a.out
/bin/ls: magic: No such file or directory
a.out*
anthonyu@original:~/dentist-0.7[1]$ rm a.out
anthonyu@original:~/dentist-0.7[0]$ gcc -o magic magic.c
anthonyu@original:~/dentist-0.7[0]$ ls magic a.out
/bin/ls: a.out: No such file or directory
magic*
>How-To-Repeat:
-omagic and/or -o magic
>Fix:
Depends on which behavior is the feature, and which is the bug. :)
I will correct it if given direction on the preferred behavior.
Thanks!
>Release-Note:
>Audit-Trail:
>Unformatted: