I've compiled and created a DLL library using mingw32ce and the following
linker command:
$(LD) -shared -Wl,--output-def,myLib.def,--out-implib,myLib.lib -o
mylib.dll$(OBJECTS)
where LD is arm-wince-mingw32ce-g++
Creation of the dll, def and lib seem ok.
But if i use that .lib file to compile a wince program (using Visual C
2008), the Microsoft linker produces the following warning:
myLib.lib(d000037.o) : warning LNK4078 multiple ".text" sections found with
different attributes (E0000020)
Why import libraries created using mingw32ce aren't compatible with ones
produced by VC? dll created using mingw32ce is working fine (on my Dell
WinCE 5.0 device) only if i use an import library created using VC.
Any idea to solve this issue?
PS: i'm obligated to write final application using VC, but i want to build
the core dll using mingw32ce.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel