This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc detect multiple -o passed on one command line
- From: Jon Grant <jg at jguk dot org>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 5 May 2011 22:31:06 +0100
- Subject: gcc detect multiple -o passed on one command line
Hello
Is it expected that more than one -o option should be allowed by GCC
on command line? The later -o option overriding earlier. I had
expected the parameter checking to detect this duplication of options.
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
$ gcc -W -Wall -o main main.c -omup.o
$ ls
main.c mup.o
I can create a bug ticket if needed. Let me know.
Please keep my email address included in any replies.
Best regards, Jon