Thomas Trummer
2009-08-22 13:15:22 UTC
Hi,
I have a windows dll without source code (vendor.dll) that I want to use in
a winelib application.
There are two problems however:
1) Creating a vendor.def file doesn't work. The resulting file has an empty
EXPORTS section:
winedump spec vendor.dll
winebuild --def -E vendor.spec -o vendor.def
2) According to an older mailing post it should be possbile to use the .def
file to link:
winegcc -o test test.o -lvendor
However, this fails:
/usr/bin/ld: cannot find -lvendor
collect2: ld returned 1 exit status
winegcc: i486-linux-gnu-gcc failed
Thomas
I have a windows dll without source code (vendor.dll) that I want to use in
a winelib application.
There are two problems however:
1) Creating a vendor.def file doesn't work. The resulting file has an empty
EXPORTS section:
winedump spec vendor.dll
winebuild --def -E vendor.spec -o vendor.def
2) According to an older mailing post it should be possbile to use the .def
file to link:
winegcc -o test test.o -lvendor
However, this fails:
/usr/bin/ld: cannot find -lvendor
collect2: ld returned 1 exit status
winegcc: i486-linux-gnu-gcc failed
Thomas