c++.command-line - smake not running recursively
- Cesar Rabak <crabak acm.org> Apr 27 2004
- "W這dzimierz Skiba" <abx abx.art.pl> Apr 27 2004
- "Walter" <newshound digitalmars.com> Apr 27 2004
- "W這dzimierz Skiba" <abx abx.art.pl> Apr 27 2004
- "Walter" <newshound digitalmars.com> Apr 27 2004
- "W這dzimierz Skiba" <abx abx.art.pl> Apr 28 2004
- "Walter" <newshound digitalmars.com> Apr 28 2004
I'm trying to build the FOX Library (http://www.fox-toolkit.org) with Digital Mars compiler. In fact, FOX has a smakefile for it. The contents of it call recursivelly other smakefiles in other directories: -----------8<------------ # # Top-level makefile for Digital Mars C++ # all: cd ..\..\utils smake -fMakefile.dmc cd ..\..\src smake -fMakefile.dmc cd ..\..\tests smake -fMakefile.dmc cd ..\..\adie smake -fMakefile.dmc cd ..\..\pathfinder smake -fMakefile.dmc cd ..\..\calculator smake -fMakefile.dmc clean: cd ..\..\src smake -fMakefile.dmc clean cd ..\..\utils smake -fMakefile.dmc clean cd ..\..\tests smake -fMakefile.dmc clean cd ..\..\adie smake -fMakefile.dmc clean cd ..\..\pathfinder smake -fMakefile.dmc clean cd ..\..\calculator smake -fMakefile.dmc clean ----------->8------------ However, when I call in the directory that contains the above file, I get only the following in the screen, and nothing is compiled: -----------8<------------ SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved cd ..\..\utils smake -fMakefile.dmc SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved cd ..\..\src smake -fMakefile.dmc SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved cd ..\..\tests smake -fMakefile.dmc SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved cd ..\..\adie smake -fMakefile.dmc SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved cd ..\..\pathfinder smake -fMakefile.dmc SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved cd ..\..\calculator smake -fMakefile.dmc SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved ----------->8------------ Any Ideas? My machine is a Windows XP Home Ed. SP1 applied. TIA -- Cesar Rabak
Apr 27 2004
Cesar Rabak <crabak acm.org> wrote in news:408E8646.7080303 acm.org:I'm trying to build the FOX Library (http://www.fox-toolkit.org) with Digital Mars compiler. In fact, FOX has a smakefile for it. The contents of it call recursivelly other smakefiles in other directories: (...) However, when I call in the directory that contains the above file, I get only the following in the screen, and nothing is compiled: (...)
I have similar fresh observation except it crashes here (NT4 on P2). I wonder if runing it in new instance of cmd shell could help. Please report if you would find any solution. ABX
Apr 27 2004
The dm libraries are built with recursive smakes, as in \dm\src\build\snd.mak.
Apr 27 2004
"Walter" <newshound digitalmars.com> wrote in news:c6mb8o$2k17$3 digitaldaemon.com:The dm libraries are built with recursive smakes, as in \dm\src\build\snd.mak.
I noticed recursive makefiles on CD so I was sure it was/is possible but which OS do you use? Recursive smake fails here on NT4 and on XP. ABX
Apr 27 2004
"W這dzimierz Skiba" <abx abx.art.pl> wrote in message news:c6mcig$2lm7$2 digitaldaemon.com..."Walter" <newshound digitalmars.com> wrote in news:c6mb8o$2k17$3 digitaldaemon.com:The dm libraries are built with recursive smakes, as in \dm\src\build\snd.mak.
I noticed recursive makefiles on CD so I was sure it was/is possible but which OS do you use? Recursive smake fails here on NT4 and on XP.
I'm using XP now, though those makefiles also worked on my old NT4 box.
Apr 27 2004
"Walter" <newshound digitalmars.com> wrote in news:c6mmkl$725$2 digitaldaemon.com:I'm using XP now, though those makefiles also worked on my old NT4 box.
I found the problem which cause crash here. I have something like: # START MAKEARGS = "CC=$(CC)" "CXX=$(CXX)" "CFLAGS=$(CFLAGS)" \ "CXXFLAGS=$(CXXFLAGS)" "CPPFLAGS=$(CPPFLAGS)" "LDFLAGS=$(LDFLAGS)" \ "SHARED=$(SHARED)" "WXUNIV=$(WXUNIV)" \ "UNICODE=$(UNICODE)" \ "BUILD=$(BUILD)" all : cube_sample cube_sample : cd cube smake /NOLOGO /F makefile.dms $(MAKEARGS) all cd .. # END and above makefile cause crash. Doing the same with single but long line for defining MAKEARGS removes such crash. ABX
Apr 28 2004
Thanks, I'll add it to the smake bug list. -Walter "W這dzimierz Skiba" <abx abx.art.pl> wrote in message news:c6opbs$mng$1 digitaldaemon.com...I found the problem which cause crash here.
Apr 28 2004









"W這dzimierz Skiba" <abx abx.art.pl> 