Re: Winelib Calling POSIX function from Windows application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So I write a .spec file and compile it into a .o using

Code:
winebuild -E foo.dll.spec -o foo.dll.s --dll foo.o


foo.o was created from foo.c using winegcc. This generates a piece of assembly for me. Then I run

Code:
as -o foo.dll.o foo.dll.s


to create object code.

I also have a foo.dll.so which is created from foo.o in the makefile created by winemaker.

It works to LoadLibrary("foo.dll.so") but I can not GetProcAddress (I guess the function has not been exported since the makefile does not even use the .spec file. How do I put it all together?







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux