Rebuild 0.1 released

Kirk McDonald kirklin.mcdonald at gmail.com
Mon Feb 5 21:37:41 PST 2007


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
> 

-S is for specifying a /path/, not a file. This is for supporting the 
pragma(link) feature. This is like pragma(lib), except you specify a 
sane part of the library name, and it figures out the actual .lib 
filename. (And it does the Right Thing on Linux, too.)

To explicitly specify a .lib file, use -L.

-- 
Kirk McDonald
Pyd: Wrapping Python with D
http://pyd.dsource.org



More information about the Digitalmars-d-announce mailing list