I've used mingw as a cross compiler for a couple of months
with a fair degree of success. I'm facing a bit of a
problem, and I'ld like a sanity check from the group.
Situation - Application needs to link static libraries on
NT, possibly containing C++, definitely built w/MSVC.
DLLs down there also built w/MSVC, possibly also
My Understanding - Use of mingw is hopeless against static
libraries of course, and DLLs containing C++ calls use
calling conventions that are compiler specific, so
hopeless on that count too.
The Remedy - The C++ portion of my application is right at
the top, and it's pretty small compared to my overall code
base. Use mingw to build, on unix, a DLL containing all
of my support code (blissfully, all C). Drag that DLL and
my C++ source down to the PC. Build it there using something
* Is my understanding correct?
* Should the remedy work generally?
* Should I be looking at struct layout compile options?
* Anyone have a better idea or anything to be careful of?
* Would it be easier to just get a new job? :)
Get latest updates about Open Source Projects, Conferences and News.