Hi people, So... I'm trying to make a plugin that uses some standard unix functions, like fchdir, fsync, open, read, write, etc....
And... I want it to be cross platform. Mac and Linux are working perfectly, now that I decided to drop MacOS9 support. Win32 however is more problematic. I cannot drop Win32. I want to use the standard Unix functions! This will mean my plugin is standard across platforms. I'd rather not have to implement my plugin class using different code for different platforms. That would increase development time, increase bugs, and annoy users. I tried using cygwin to compile my code. The Linux makefile ran perfectly. But... there was a problem. The plugin requires cygwin1.dll meaning it is no longer a self-contained plugin. The cygwin FAQ says I can't statically link against cygwin1.dll . It also says you can't make self-contained programs using cygwin. Which is no fun. Can I make self-contained plugins, using mingw? Is it a bit better? I really don't want to make my plugin non-self-contained :( I can see how wise it was to avoid doing anything with file support for a long time. I really made the right choice. This way I was able to build up a mass of code, none of which had any platform problems or need platform specific code. Now I've finally decided to support accessing files, I can see what a pain it is. -- http://elfdata.com/plugin/ "String processing, done right" _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
