> -----Original Message-----
> From: cygwin-owner  On Behalf Of c dana
> Sent: 10 June 2004 16:21

>  --- Igor Pechtchanski <pechtchaPINGZAPSPLATCRUNCHBOOOOOOM> 的訊息:>
                          ^^^^^^^^^^^^^^^^^^^^^^^

Hey Dana, check this link -> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>

> You're right.I was not not telling the truth when I
> posted the previous message. I compiled successfully
> now.
> "@gcc test.txt" does not work.
> "@gcc test.c" works.

  FYI, gcc normally works out what language a file contains by looking at
the extension, so when it ends in .txt it can't guess what language it's in.
But you can always tell it specifically:  if you use the command line option
"-x c" to tell gcc that the file was a C file then it would still work, i.e.

"@gcc -x c test.txt"

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to