file not recognized:File format not recognized

c dana dignitary_e@yahoo.com.tw
Fri Jun 4 06:43:00 GMT 2004


I am a novice at cygwin.
I edited a file "test.c" with notepad in windows.
Then I compiled it with gcc in cygwin by typing:
$ gcc test.c
However I got the following error message:
 
test.c: file not recognized:File format not recognized
collect2: ld return 1 exit status.
 
My OS is WinXp. Could anyone tell me what's wrong?
 
Dana



-----------------------------------------------------------------
Yahoo!©_¼¯Messenger6.0
¤@«ÊMail©Î¤@­ÓMessage Åý·¾³q§ó¦Û¦b
http://tw.messenger.yahoo.com/

--
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/



More information about the Cygwin mailing list