Thread overview
How to use -H?
Sep 03, 2011
Sean Eskapp
Sep 03, 2011
David Nadlinger
Sep 03, 2011
Sean Eskapp
September 03, 2011
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?
September 03, 2011
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
September 03, 2011
== 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.