Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 09, 2004 Scons with DMD | ||||
---|---|---|---|---|
| ||||
Hi I'm trying to build the dfbth library from source but haven't been able to compile any source file. I've installed Python and Scons with the patch provieded by Andi in it's page but every time I run scons from the command line I see the correct commands are been issued but not executed. Something like the following: dmd -o test.obj test.d "dmd" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. but one for each source file in the dfbth distribution. |
February 09, 2004 Re: Scons with DMD | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Peña | Carlos Peña wrote:
> Hi
>
> I'm trying to build the dfbth library from source but haven't been able to
> compile any source file.
>
> I've installed Python and Scons with the patch provieded by Andi in it's page
> but every time I run scons from the command line I see the correct commands are
> been issued but not executed. Something like the following:
>
> dmd -o test.obj test.d
> "dmd" no se reconoce como un comando interno o externo,
> programa o archivo por lotes ejecutable.
>
> but one for each source file in the dfbth distribution.
How strange. Is DMD in your current path?
-- andy
|
February 10, 2004 Re: Scons with DMD | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andy Friesen | In article <c085h7$2cj0$1@digitaldaemon.com>, Andy Friesen says... > >How strange. Is DMD in your current path? > > -- andy Yes, I can run it from the Run dialog box. I'm using win2k and win98se. |
February 11, 2004 Re: Scons with DMD | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Peña | Carlos Peña wrote:
> In article <c085h7$2cj0$1@digitaldaemon.com>, Andy Friesen says...
>
>
>>How strange. Is DMD in your current path?
>>
>> -- andy
>
>
> Yes, I can run it from the Run dialog box. I'm using win2k and win98se.
OH. You need to pass os.environ when you create your environment:
import os
env = Environment(ENV=os.environ)
SCons tries not to rely on the system configuration to keep things portable, but I don't see any other way to deal with DMD, since the windows file system has no organization whatsoever.
-- andy
|
Copyright © 1999-2021 by the D Language Foundation