Another dwt-win / dmd / dsss build problem
Bill Baxter
dnewsgroup at billbaxter.com
Thu Feb 14 08:08:31 PST 2008
Bjoern wrote:
> Bill Baxter schrieb:
>> Bjoern wrote:
>>> John Reimer schrieb:
>>>> Bill Baxter wrote:
>>>>> Bill Baxter wrote:
>>>>>> Most of this pain of mine would have been avoided if there were
>>>>>> working dsss.conf files included with the dwt-samples project.
>>>>>
>>>>> And now I see that there is a dsss.conf at the top-level that
>>>>> covers all the subprojects. Dangit!
>>>>>
>>>>> --bb
>>>>
>>>>
>>>> I was confused as to why you were using your own dsss.conf... But,
>>>> anyway, glad you figured it out.
>>>>
>>>> Now I recall I had the same problem with dsss and forward slashes.
>>>> The strange thing is that dsss reads forward slashes in the
>>>> dsss.conf file but not on the command line :P. This is an example
>>>> of why troubleshooting gets confusing with the problems layered from
>>>> several technologies. I wish it were easier.
>>>>
>>>> About the images in the buttons... Are they missing on yours too?
>>>> Are you using Windows XP? I haven't been able to track down the
>>>> problem on that yet. It was working for me a few revisions ago, but
>>>> not now. I guess I'll add a ticket.
>>>>
>>>> -JJR
>>>
>>> Pretty confusing
>>>
>>> I don't know why but modifying sc.ini does the job for me:
>>>
>>> DFLAGS="-I%@P%\..\import;%@P%\..\import\dwt-win" -version=Tango
>>> -defaultlib=tango-base-dmd.lib -debuglib=tango-base-dmd.lib
>>> -L+tango-user-dmd.lib
>>>
>>> my win xp directory structure :
>>> dmd/import/tango
>>> dmd/import/dwt-win
>>>
>>> I use hg within these (adequate) directories.
>>>
>>> I can also imagine that Bill is using Tango + Tangobos. Means
>>> probabely this causes the problem.
>>
>> Yup I am. I'm not sure what you are saying you modified your sc.ini
>> from though. Are you refering to the -L+tango-user-dmd.lib part?
>>
>> This seems like an issue that needs attention to me.
>>
> Well in case that you install a naked Tango + dmd 1.025
> your sc.ini DFALGS stuff is a s follows :
>
> DFLAGS="-I%@P%\..\import" -version=Tango
> -defaultlib=tango-base-dmd.lib -debuglib=tango-base-dmd.lib
> -L+tango-user-dmd.lib
>
> As you can see, I just added :
> ;%@P%\..\import\dwt-win"
Ok. Well that makes sense you'd need that if you've got libs that need
to be linked with in your import\dwt-win directory. There should be
some flag to add that during compilation too. With dsss you can add
extra lib dirs using "-S..\import\dwt-win".
> the -L flag seems to be not nessesary in case that you use Tango +
> Tangobos. (I mean the optional ready-to-use installation, you can
> download from Tango)
> just compare it.
>
> Beside I use Tango rev 3172.
Hmm. I'm confused then because the Windows install instructions on the
Tango page make it sound like the -L is an optional thing not included
by default, but you can add it if you feel like it. But you're saying
it is the default in the pre-made Tango packages?
>> I agree that DSSS is far from perfect. I think Gregor's biggest
>> mistake was to assume that handling D dependencies perfectly would
>> solve all build problems (or at least he seems to have made that
>> assumption). But it's just not the case. In real software there are
>> all kinds of dependencies that come from all kinds of places. A build
>> tool that does not have a general dependency engine is a cripple from
>> the outset.
>>
> OT/
> Do not want to say too much because not much is done at the moment but I
> choose Omake :
>
> Quote : http://omake.metaprl.org/index.html
> ...
> Built-in functions that provide the most common features of programs
> like grep, sed, and awk. These are especially useful on Win32.
> Active filesystem monitoring, where the build automatically restarts
> whenever you modify a source file. This can be very useful during the
> edit/compile cycle. Really ??? :)
>
> and I've just received a mail from a guy who did his ADA build work
> using OMake. Interesting 'cause ADAs import/package handling is at least
> as complicated as Ds. )
> Bjoern
Hmm haven't heard much about OMake. I think SCons is probably more
widely used and actively developed, though, if you're going to go the
route of adding D support to an existing build tool. And someone has
already done some work getting D support into SCons.
--bb
More information about the Digitalmars-d-dwt
mailing list