Calling PE DLLs

Alexandre Julliard julliard at
Wed Nov 2 03:54:14 CST 2005

Daniel Stodden <dns at> writes:

> then, one of my better guesses on how to proceed seemed to be:
> winebuild --dll -fPIC -E vendor.dll.spec -L. -lvendor test.o -o
> libvendor.dll.s
> the assembler code looks reasonable. though, linking fails with
> duplicate symbols:
> winegcc   test.o libvendor.dll.o  -o test

You shouldn't need any of that. Once you have libvendor.def you should
be able to simply do:

  winegcc -o test test.o -lvendor

Alexandre Julliard
julliard at

More information about the wine-devel mailing list