From: shor AT jna DOT com DOT au Newsgroups: comp.os.msdos.djgpp Subject: Problem with make Date: Mon, 13 Apr 1998 23:33:32 -0600 Organization: Deja News - The Leader in Internet Discussion Lines: 126 Message-ID: <6guous$mke$1@nnrp1.dejanews.com> NNTP-Posting-Host: 203.4.244.61 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I have a problem using make under djgpp's port of the make utility. I have recently downloaded the gcc compilor and make utility from the djgpp port. My problem is using make. After creating a makefile (using TABs on the command lines)I find that the make utility is acting as if it cannot find the makefile. gcc itself runs fine. Here is the error. [95]D:\DEV\C>make hello.exe make.exe: *** No rule to make target `hello.exe'. Stop. My environment is Windows95. Following are my environment, djgpp.env file, the makefile and make version. ******* Environement ********* [95]D:\DEV\C>set TMP=C:\WINDOWS\TEMP winbootdir=C:\WINDOWS COMSPEC=C:\COMMAND.COM PROMPT=[95]$p$g TEMP=C:\TEMP . . other stuff . DJGPP=D:\DJGPP\DJGPP.ENV . . other stuff . PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UTILITY\PFE32;D:\DJGPP\BIN;D:\BORLANDC\B IN; D:\JDK1.1.5\BIN;D:\GPM\BIN;D:\PERL5\BIN; My djgpp.env file looks like (I have cut out some irrevelant bits to keep this message shorter); ******* DJGPP.ENV ********* [95]D:\djgpp>type djgpp.env #= Don't edit this line unless you move djgpp.env outside #= of the djgpp installation directory. If you do move #= it, set DJDIR to the directory you installed DJGPP in. #= DJDIR=%:/>DJGPP% +USER=dosuser +TMPDIR=%DJDIR%/tmp +EMU387=%DJDIR%/bin/emu387.dxe +LFN=Y [bison] BISON_HAIRY=%DJDIR%/lib/bison.hai BISON_SIMPLE=%DJDIR%/lib/bison.sim [cpp] CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%DJ DIR%/contrib/grx20/include C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/includ e OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/o bjc OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc [gcc] COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib [info] INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info INFO_COLORS=0x1f.0x31 . . rest after here . ******* makefile ********* [95]D:\DEV\C>type makefile hello.exe: hello.o gcc -o hello.exe hello.o hello.o: hello.c gcc -c hello.c clean: del hello.exe ******* Make version ********* [95]D:\DEV\C>make -v GNU Make version 3.76.1, by Richard Stallman and Roland McGrath. Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to . ******* List of files in the target directory ********* [95]D:\DEV\C>dir Volume in drive D is DEV Volume Serial Number is 3750-1604 Directory of D:\DEV\C . 03-25-98 11:07a . .. 03-25-98 11:07a .. HELLO C 77 04-12-98 3:29p hello.c MAKEFILE 115 04-12-98 3:27p Makefile 2 file(s) 192 bytes 2 dir(s) 147,775,488 bytes free Any help with this would be much appreciated. I have read the info files (on make anyway) and I have used various make utilities on different platforms with no problems. In fact, the makefile above works with Borland's maker (real-mode make utility, and doesn't support long file names). Thanks in anticipation.... Steve Horne Business eMail: shor AT jna DOT com DOT au Academic eMail: s DOT horne AT student DOT qut DOT edu DOT au Brisbane Australia -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading