public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc issue
@ 2011-11-08 13:20 trisha yad
  2011-11-08 13:25 ` trisha yad
  2011-11-08 14:04 ` Sebastian Huber
  0 siblings, 2 replies; 4+ messages in thread
From: trisha yad @ 2011-11-08 13:20 UTC (permalink / raw)
  To: gcc-help, gcc-help

Hi All,
when i pass garbage option it still got pass.

gdb_mips]$ gcc -odfhksdf test.c
[naveen@localhost gdb_mips]$


is it ok behaviour
with gcc version 4.3.2 20081105

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* gcc issue
  2011-11-08 13:20 gcc issue trisha yad
@ 2011-11-08 13:25 ` trisha yad
  2011-11-08 14:04 ` Sebastian Huber
  1 sibling, 0 replies; 4+ messages in thread
From: trisha yad @ 2011-11-08 13:25 UTC (permalink / raw)
  To: gcc-help, gcc-help

Hi All,
when i pass garbage option it still got pass.

gdb_mips]$ gcc -odfhksdf test.c
[naveen@localhost gdb_mips]$


is it ok behaviour
with gcc version 4.3.2 20081105

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc issue
  2011-11-08 13:20 gcc issue trisha yad
  2011-11-08 13:25 ` trisha yad
@ 2011-11-08 14:04 ` Sebastian Huber
  2011-11-08 14:12   ` Jonathan Wakely
  1 sibling, 1 reply; 4+ messages in thread
From: Sebastian Huber @ 2011-11-08 14:04 UTC (permalink / raw)
  To: gcc-help

On 11/08/2011 02:20 PM, trisha yad wrote:
> when i pass garbage option it still got pass.
>
> gdb_mips]$ gcc -odfhksdf test.c

This is not a garbage option.  It creates the "dfhksdf" program (provided 
test.c is not garbage).

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc issue
  2011-11-08 14:04 ` Sebastian Huber
@ 2011-11-08 14:12   ` Jonathan Wakely
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2011-11-08 14:12 UTC (permalink / raw)
  To: trisha yad; +Cc: gcc-help

On 8 November 2011 13:25, Sebastian Huber wrote:
> On 11/08/2011 02:20 PM, trisha yad wrote:
>>
>> when i pass garbage option it still got pass.
>>
>> gdb_mips]$ gcc -odfhksdf test.c
>
> This is not a garbage option.  It creates the "dfhksdf" program (provided
> test.c is not garbage).

Right, the -o option takes an argument, so the command is equivalent to:

gcc -o dfhksdf test.c

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-08 14:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-08 13:20 gcc issue trisha yad
2011-11-08 13:25 ` trisha yad
2011-11-08 14:04 ` Sebastian Huber
2011-11-08 14:12   ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).