* Newbie question / Help with make
@ 1997-06-17 18:53 RC
1997-06-18 9:38 ` Chris Faylor
0 siblings, 1 reply; 2+ messages in thread
From: RC @ 1997-06-17 18:53 UTC (permalink / raw)
To: gnu-win32
Pardon the newbie question.
I've just downloaded gnu-win32 b18 and am trying to run it on a win95
system. I've managed to compile a hello.c program, but when I
try another program I get the following message:
gcc Makefile.c -o Makefile
Makefile.c:2: 'gcc' undeclared here (not in a function)
Makefile.c:2: syntax error before 'PROF'
gcc: Internal compiler error: program cc1 got fatal signal 33
MAKE.EXE *** [Makefile] Error 1
What might I have done wrong here? Any suggestions or pointers in the
right direction would be greatly appreciated. Thanks.
RC
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Newbie question / Help with make
1997-06-17 18:53 Newbie question / Help with make RC
@ 1997-06-18 9:38 ` Chris Faylor
0 siblings, 0 replies; 2+ messages in thread
From: Chris Faylor @ 1997-06-18 9:38 UTC (permalink / raw)
To: gnu-win32
In article < 33A73F35.55B@sprintmail.com >, RC <telegraph@sprintmail.com> wrote:
>Pardon the newbie question.
>
>I've just downloaded gnu-win32 b18 and am trying to run it on a win95
>system. I've managed to compile a hello.c program, but when I
>try another program I get the following message:
>
>gcc Makefile.c -o Makefile
>Makefile.c:2: 'gcc' undeclared here (not in a function)
>Makefile.c:2: syntax error before 'PROF'
>gcc: Internal compiler error: program cc1 got fatal signal 33
>MAKE.EXE *** [Makefile] Error 1
>
>What might I have done wrong here? Any suggestions or pointers in the
>right direction would be greatly appreciated. Thanks.
It is difficult to say what you might have done wrong since you didn't
post the relevant parts of the Makefile, but, at a guess, it looks like
you are not indenting the lines (i.e., gcc) which are intended to be
commands. A rule should look something like this:
foo.o: foo.c
gcc -c $?
^
Tab here.
--
http://www.bbc.com/ cgf@bbc.com "Strange how unreal
VMS=>UNIX Solutions Boston Business Computing the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-06-18 9:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-06-17 18:53 Newbie question / Help with make RC
1997-06-18 9:38 ` Chris Faylor
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).