DLL symbol export with Bud & Tango

Derek Parnell derek at psych.ward
Thu Sep 20 15:08:47 PDT 2007


On Thu, 20 Sep 2007 16:54:55 -0400, Alex wrote:

> I'm currently working on a very simply DLL library, 
>which I'm compiling against tango by way of the build
> utility (bud).  I've got a symbol I'm exporting via
> a definition file, but whenever I try to compile the
> app, bud deletes it and does not export the symbol.
>  What am I doing wrong?
> 
> command line for reference: bud main.d main.def kernel32.lib

The problem is that it has the same name as the target exe. Try renaming
it.

  bud main.d export.def kernel32.lib

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell


More information about the Digitalmars-d-learn mailing list