Daniel Stodden dns@somacoma.de 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