Re: Another D feature

Lars Ivar Igesund <[email protected]> Sun, 22 Feb 2004 18:51:27 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Bram Moolenaar wrote:

> Lars Ivar Igesund wrote:
> 
> 
>>The attached pathces add a new feature for D programmers in
>>addition to documenting it. (Also, my last patch is overwritten
>>by this one since it doesn't seem that it has come through to
>>the cvs server.)
>>
>>The feature in question, is the possibility to create an import
>>library while building a dll.
> 
> 
> I don't quite understand it.  Setting $DIMPLIB to "yes" appears to add
> the "-L/implib" argument.  Does this mean to use the "/implib"
> directory?  Then what if someone would want to use another directory?

No, '/implib' is a linker switch that creates foo.lib in addition to
foo.dll.

Possibly the variable should be called IMPLIB or CREATEIMPLIB as it
isn't really D specific in any way.

> 
> I did change that import statement and it does appear in CVS.  Don't
> know why you can't see it...
> 

Well, I'll check again later, but I did use 'cvs diff' to create the
patch. Should have worked then, shouldn't it?

Lars Ivar Igesund



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click