Cross-Compiling DLLs with Mingw32- Linking a Static Library
Ok. I'm trying to cross-compile thesource code of a "module" for a game's proxy called Furnarchy2 in mingw-g++.
Each one of these modules are .dll files that must be linked to a furn.h header, and (the problematic) furn2.lib file. I've compiled simple .dlls using a couple example sources, but I cannot figure out how to link this Static Library to the DLL. Whenever I try to compile, I got: Code:
collect2: ld returned 1 exit status Code:
g++.exe -D__DEBUG__ -c entry.cpp -o entry.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -pg -g3 Code:
$ i586-mingw32msvc-g++ -D_DEBUG__ -c entry.cpp furn2.h -pg -g3 |
If the question was too vague, just say so?
|
All times are GMT -5. The time now is 11:09 PM. |