Re: Using the Windows' compiler/linker how to specify a library to link?

2014-01-11 Thread Mike Parker
On 1/11/2014 10:08 PM, Gary Willoughby wrote: On Saturday, 11 January 2014 at 12:57:38 UTC, Mike Parker wrote: On 1/11/2014 9:01 PM, Gary Willoughby wrote: I'm currently using the 32bit compiler on Windows which uses optlink for linking. I know the compiler command line accepts the -L option to

Re: Using the Windows' compiler/linker how to specify a library to link?

2014-01-11 Thread Gary Willoughby
On Saturday, 11 January 2014 at 12:57:38 UTC, Mike Parker wrote: On 1/11/2014 9:01 PM, Gary Willoughby wrote: I'm currently using the 32bit compiler on Windows which uses optlink for linking. I know the compiler command line accepts the -L option to pass arguments to the linker. So what i'm aft

Re: Using the Windows' compiler/linker how to specify a library to link?

2014-01-11 Thread Mike Parker
On 1/11/2014 9:01 PM, Gary Willoughby wrote: I'm currently using the 32bit compiler on Windows which uses optlink for linking. I know the compiler command line accepts the -L option to pass arguments to the linker. So what i'm after is the correct way to pass an option to optlink to link a define

Using the Windows' compiler/linker how to specify a library to link?

2014-01-11 Thread Gary Willoughby
I'm currently using the 32bit compiler on Windows which uses optlink for linking. I know the compiler command line accepts the -L option to pass arguments to the linker. So what i'm after is the correct way to pass an option to optlink to link a defined library. On Linux i would use: dmd -L-L