J
Jeff Mitchell
I have two extensions, ext_x.so and ext_y.so. ext_y.so references a
few functions defined in ext_x.so.
On Linux this is okay; both build, link, and run fine. But on
Windows, gcc-mingw32 will not let me create ext_y.so, as it complains
about the undefined symbols which reside in ext_x.so.
I am aware of a few basics of Windows dll creation. I've been fussing
with dlltool, defining my functions with DllExport and trying to make
the lib and export files.
I'll probably eventually get it working, but there must be an easier
way. In the bigger picture, the Windows build is going to look
totally different than the unix build. If I could link with something
like --ignore-undefined that would be great, however I haven't found
such an option.
Is there something I'm missing, or is it really going to be this hard?
ext_x.so should remain independent. As a last resort, I suppose I
could combine the two extensions into one, but that would be pretty
messy. In fact, I have three other extensions which require ext_x.so.
TIA
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
few functions defined in ext_x.so.
On Linux this is okay; both build, link, and run fine. But on
Windows, gcc-mingw32 will not let me create ext_y.so, as it complains
about the undefined symbols which reside in ext_x.so.
I am aware of a few basics of Windows dll creation. I've been fussing
with dlltool, defining my functions with DllExport and trying to make
the lib and export files.
I'll probably eventually get it working, but there must be an easier
way. In the bigger picture, the Windows build is going to look
totally different than the unix build. If I could link with something
like --ignore-undefined that would be great, however I haven't found
such an option.
Is there something I'm missing, or is it really going to be this hard?
ext_x.so should remain independent. As a last resort, I suppose I
could combine the two extensions into one, but that would be pretty
messy. In fact, I have three other extensions which require ext_x.so.
TIA
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail