Rebuild 0.1 released
Gregor Richards
Richards at codu.org
Mon Feb 5 23:08:27 PST 2007
Bradley Smith wrote:
> Bradley Smith wrote:
>
>> Gregor Richards wrote:
>>
>>> Rebuild is a recreation of build/bud. I'm not a politician, so I'm
>>> not going into why I wrote it.
>>>
>>> It's based on the original DMD frontend, so it's in C++. Binaries are
>>> available for GNU/Linux and Windows. It should work on nearly any
>>> system that has a D compiler.
>>>
>>> URL: http://www.dsource.org/projects/dsss/wiki/Rebuild
>>>
>>> - Gregor Richards
>>
>>
>> How do I use rebuild to link in libraries?
>>
>> I've tried using -Spath with some.lib and the full path path\some.lib,
>> but the library is never passed through to the link command.
>>
>> Thanks,
>> Bradley
>>
>
> Is something missing from the rebuild-0.1.zip? In mars.c, the lib files
> appear to be put in global.params.libfiles, but I can't find anywhere
> that the information in global.params.libfiles is used.
>
> Thanks,
> Bradley
That's just leftover from DMD. Getting libs linked in just involves
passing them into the linker. For every library, you need to add
-L<library_name> .
I'm going to add a better flag for that.
- Gregor Richards
More information about the Digitalmars-d-announce
mailing list