www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to use -H?

reply Sean Eskapp <eatingstaples gmail.com> writes:
I'm trying to create import libraries for use in other projects, using the -H
flag, but dmd is still trying to create an executable. How do I specify that
all I want are the interface files?
Sep 03 2011
parent reply David Nadlinger <see klickverbot.at> writes:
On 9/3/11 8:17 PM, Sean Eskapp wrote:
 I'm trying to create import libraries for use in other projects, using the -H
 flag, but dmd is still trying to create an executable. How do I specify that
 all I want are the interface files?
Does -o- work as you want? David
Sep 03 2011
parent Sean Eskapp <eatingstaples gmail.com> writes:
== Quote from David Nadlinger (see klickverbot.at)'s article
 On 9/3/11 8:17 PM, Sean Eskapp wrote:
 I'm trying to create import libraries for use in other projects, using the -H
 flag, but dmd is still trying to create an executable. How do I specify that
 all I want are the interface files?
Does -o- work as you want? David
Yes, it does! Turns out the linker errors I was getting were due to Code::Blocks being bad at D.
Sep 03 2011