Hello, And in the build I keep seeing -DDLL_EXPORT everywhere. |
The truth is I don't understand quite well the role of DLL_EXPORT and how to get from a DLL build to a static build. |
I tried to remove all mentions to DLL_EXPORT in the makefiles but hey keep reappearing again and again :) To my utter despair. For now, the perfect solution would be to make minor changes to the build process (but I don't know where) configure and make the all thing. Can this be done at mingw level ? Is there anyone that can point me in the right direction about this ? Another solution would be to collect all the generated .o files and make a big .a file from them. Would that work ? Wouldn't the different winmain functions collide at some point ? Should I use ar or libtool to create the .a file from the .o's ? |