This is the mail archive of the gcc-help@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]

Re: gcc issue


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


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