run3 at myopera.com
Sun Jan 22 02:21:15 PST 2012
On Sun, Jan 22, 2012, at 12:11 AM, Ali Çehreli wrote:
> On 01/21/2012 06:28 PM, Mars wrote:
> > On Sunday, 22 January 2012 at 00:50:28 UTC, Ali Çehreli wrote:
> >> Are you also including the library on the command line with -L-l? For
> >> example, for ncurses:
> >> dmd ... -L-lncurses ...
> >> And if needed, also -L-L to specify the location of library files for
> >> the linker.
> >> Ali
> > Yes, I am including it. Tried pragma and command line. And I don't get a
> > message that the lib couldn't be found.
> > What exactly is -L-l supposed to do? Is this valid in DMD 2.057? I get
> > an error with it (Unknown Option).
> > Mars
> -L is dmd's the linker flag option. Anything after that is passed to the
> linker. So -L-l passes -l to the linker:
I've took a look at MySQL headers, the functions use __stdcall, but in libmysql.dll exports table they are not decorated.
More information about the Digitalmars-d-learn