Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
April 27, 2004 smake not running recursively | ||||
---|---|---|---|---|
| ||||
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 |
April 27, 2004 Re: smake not running recursively | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cesar Rabak | 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
|
April 27, 2004 Re: smake not running recursively | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cesar Rabak | The dm libraries are built with recursive smakes, as in \dm\src\build\snd.mak. |
April 27, 2004 Re: smake not running recursively | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "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 |
April 27, 2004 Re: smake not running recursively | ||||
---|---|---|---|---|
| ||||
Posted in reply to W³odzimierz Skiba | "W³odzimierz 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. |
April 28, 2004 Re: smake not running recursively | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | "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 |
April 29, 2004 Re: smake not running recursively | ||||
---|---|---|---|---|
| ||||
Posted in reply to W³odzimierz Skiba | Thanks, I'll add it to the smake bug list. -Walter "W³odzimierz Skiba" <abx@abx.art.pl> wrote in message news:c6opbs$mng$1@digitaldaemon.com... > I found the problem which cause crash here. |
Copyright © 1999-2021 by the D Language Foundation