Bug #10810 2007-04-04 13:05

maxter

D static libraries

Cannot compile D static libraries on Windows.

Build log:

...

Linking static library: bin\Debug\mylib.lib

Digital Mars Librarian Version 8.02n

Copyright (C) Digital Mars 2000-2007 All Rights Reserved

http://www.digitalmars.com/ctg/lib.html

Error: bin\Debug\mylib.lib : No such file or directory

Process terminated with status 1 (0 minutes, 0 seconds)

0 errors, 0 warnings

Does C::B support compilation of D static libraries?

Category
Compiler
Group
 
Status
Open
Close date
 
Assigned to
 
afb 2007-04-26 08:19

> Does C::B support compilation of D static libraries?

Yeah, it just seems to have a problem with DMD/Windows.

It should work OK on Mac / Linux using the GDC compiler.

Probably a syntax thing, can you post the full cmd output ?

If not, I'll have a look the next time I do a Windows build.

maxter 2007-05-08 08:25

The project has one file libtest.d with a foo function which does nothing. The output:

-------------- Build: Debug in libtest ---------------

Compiling: testlib.d

Linking static library: bin\Debug\libtest.lib

Digital Mars Librarian Version 8.02n

Copyright (C) Digital Mars 2000-2007 All Rights Reserved

http://www.digitalmars.com/ctg/lib.html

Error: bin\Debug\libtest.lib : No such file or directory

Process terminated with status 1 (0 minutes, 0 seconds)

0 errors, 0 warnings

The obj file is compiled ok. Not very helpful, I guess