* gcc not working on windows xp
@ 2002-05-06 8:24 Canyon Cagiva
0 siblings, 0 replies; 2+ messages in thread
From: Canyon Cagiva @ 2002-05-06 8:24 UTC (permalink / raw)
To: cygwin
I have just rebuilt windows xp in my notebook and then installed cygwin with
gcc. When I try to compile a simple "Hello World" C program, gcc issues no
errors but does not generate any executable file. compiling with make,
that's what happens:
c:\src>make Hello
gcc Hello.c -o Hello
make: *** [Hello] Error 1
c:\src>dir
Volume in drive C has no label.
Volume Serial Number is F882-4E55
Directory of c:\src
06/05/2002 07:37 <DIR> .
06/05/2002 07:37 <DIR> ..
06/05/2002 07:37 66 Hello.c
05/05/2002 20:44 67 Hello.c~
05/05/2002 20:40 874 Pilha.cc
05/05/2002 20:34 539 Pilha.cc~
4 File(s) 1.546 bytes
2 Dir(s) 16.603.086.848 bytes free
So, no output files. but it does generates a Hello.o when using -c option.
Funny thing is that it worked before I reinstall windows xp in the same
computer...
Any ideas?
Thanks in advance...
_________________________________________________________________
Una-se ao maior serviço de email do mundo: o MSN Hotmail.
http://www.hotmail.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: gcc not working on windows xp
@ 2002-05-06 20:43 Michael Labhard
0 siblings, 0 replies; 2+ messages in thread
From: Michael Labhard @ 2002-05-06 20:43 UTC (permalink / raw)
To: Canyon Cagiva; +Cc: cygwin
I'm using gcc on Windows XP Pro (desktop PC, not a laptop). Have had no
problems. Apparantly linking is failing. Try make -d Hello.c -o Hello and
see if the output helps determine what's missing.
-- Michael
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-07 3:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-06 8:24 gcc not working on windows xp Canyon Cagiva
2002-05-06 20:43 Michael Labhard
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).