This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]