c++.dos.32-bits - Make troubles
- Gisle Vanem (34/34) Jan 09 2003 I'll try again.
- Walter (3/37) Jan 09 2003 Make doesn't support ! commands. Try smake instead. -Walter
- Gisle Vanem (3/4) Jan 09 2003 Which crashes the DOS-box in a split second....
- Walter (3/6) Jan 09 2003 The DOS box under what OS? (smake is a win32 console program)
- Gisle Vanem (7/14) Jan 09 2003 Under Win-XP. That's funny, my smake.exe is a DOSX program.
- Walter (4/19) Jan 09 2003 I'm using winxp, and smake (7.5) is a win32 executable.
- Gisle Vanem (4/5) Jan 10 2003 Can you tell me in what .zip it is then?
I'll try again. What's wrong with the following makefile: ------------------------------ MODEL = x CC = dmc.exe CFLAGS = -m$(MODEL) -I$(DIGMARS)\include -I..\inc -Jm -L/map:full LFLAGS = -L/stack:20000 LIBS = ..\lib\wattcpd$(MODEL).lib !if "$(MODEL)" == "x" LIBS = ..\lib\wattcpdf.lib x32.lib !endif !if "$(MODEL)" == "p" LIBS = ..\lib\wattcpdf.lib x32.lib dosx32.lib exc_dmc.lib !endif PROGS = ping.exe popdump.exe rexec.exe tcpinfo.exe all: $(PROGS) echo Digital Mars binaries done .c.exe: $(CC) $*.c $(LIBS) $(CFLAGS) $(LIBS) $(LFLAGS) ------------------------------ When I run "\dmc\bin\make -l -d -f digmars.mak" I would expect some debug output, but doesn't: MODEL = x CC = dmc.exe CFLAGS = -mx -Id:\dmc\include -I..\inc -Jm -L/map:full LFLAGS = -L/stack:20000 LIBS = ..\lib\wattcpdx.lib Error on line 7: expecting target : dependencies \dmc\bin\make.exe -v Digital Mars Make Version 5.02 -- /bin/rm: Operation already in progress (EALREADY)
Jan 09 2003
Make doesn't support ! commands. Try smake instead. -Walter "Gisle Vanem" <giva bgnett.no> wrote in message news:avjrmk$1jgv$1 digitaldaemon.com...I'll try again. What's wrong with the following makefile: ------------------------------ MODEL = x CC = dmc.exe CFLAGS = -m$(MODEL) -I$(DIGMARS)\include -I..\inc -Jm -L/map:full LFLAGS = -L/stack:20000 LIBS = ..\lib\wattcpd$(MODEL).lib !if "$(MODEL)" == "x" LIBS = ..\lib\wattcpdf.lib x32.lib !endif !if "$(MODEL)" == "p" LIBS = ..\lib\wattcpdf.lib x32.lib dosx32.lib exc_dmc.lib !endif PROGS = ping.exe popdump.exe rexec.exe tcpinfo.exe all: $(PROGS) echo Digital Mars binaries done .c.exe: $(CC) $*.c $(LIBS) $(CFLAGS) $(LIBS) $(LFLAGS) ------------------------------ When I run "\dmc\bin\make -l -d -f digmars.mak" I would expect some debug output, but doesn't: MODEL = x CC = dmc.exe CFLAGS = -mx -Id:\dmc\include -I..\inc -Jm -L/map:full LFLAGS = -L/stack:20000 LIBS = ..\lib\wattcpdx.lib Error on line 7: expecting target : dependencies \dmc\bin\make.exe -v Digital Mars Make Version 5.02 -- /bin/rm: Operation already in progress (EALREADY)
Jan 09 2003
Walter <walter digitalmars.com> wrote:Make doesn't support ! commands. Try smake instead. -WalterWhich crashes the DOS-box in a split second.... Gisle V.
Jan 09 2003
"Gisle Vanem" <giva bgnett.no> wrote in message news:avkasb$1stg$1 digitaldaemon.com...Walter <walter digitalmars.com> wrote:The DOS box under what OS? (smake is a win32 console program)Make doesn't support ! commands. Try smake instead. -WalterWhich crashes the DOS-box in a split second....
Jan 09 2003
"Walter" <walter digitalmars.com> wrote:"Gisle Vanem" <giva bgnett.no> wrote in message news:avkasb$1stg$1 digitaldaemon.com...Under Win-XP. That's funny, my smake.exe is a DOSX program. And I got it from ftp://ftp.digitalmars.com/Digital_Mars_C++/Patch/dm832util.zip Is there a more recent version? -- Gisle V. Not what you think it is; http://www.nice-tits.orgWalter <walter digitalmars.com> wrote:The DOS box under what OS? (smake is a win32 console program)Make doesn't support ! commands. Try smake instead. -WalterWhich crashes the DOS-box in a split second....
Jan 09 2003
I'm using winxp, and smake (7.5) is a win32 executable. "Gisle Vanem" <giva bgnett.no> wrote in message news:avlce5$2h3o$1 digitaldaemon.com..."Walter" <walter digitalmars.com> wrote:ftp://ftp.digitalmars.com/Digital_Mars_C++/Patch/dm832util.zip"Gisle Vanem" <giva bgnett.no> wrote in message news:avkasb$1stg$1 digitaldaemon.com...Under Win-XP. That's funny, my smake.exe is a DOSX program. And I got it fromWalter <walter digitalmars.com> wrote:The DOS box under what OS? (smake is a win32 console program)Make doesn't support ! commands. Try smake instead. -WalterWhich crashes the DOS-box in a split second....Is there a more recent version? -- Gisle V. Not what you think it is; http://www.nice-tits.org
Jan 09 2003
"Walter" <walter digitalmars.com> wrote:I'm using winxp, and smake (7.5) is a win32 executable.Can you tell me in what .zip it is then? Thanks Gisle V.
Jan 10 2003