Hendrik Helwich escreveu:
> Hello CeGCC Developers,
> 
> i just heard about CeGCC and used it to compile the zlib (www.zlib.net, 
> actual version 1.2.3). It worked fine!
> But is it possible to create a DLL-Library with CeGCC instead of an 
> EXE-Application ?
> 

Yes.  Take a look here, most of what's written there applies to CE
too, especially to mingw32ce:

http://www.mingw.org/docs.shtml

Look under the "How to create a dll" section.

You should be fine with gcc -shared.

If you want to use nm (not that recomended), there is one one
difference though: on Windows CE, C/C++ functions don't get
a '_' prepended, unliked desktop Windows, so scripts like:

nm file.dll | grep ' T _' | sed 's/.* T _//' >> file.def

should be converted to:

arm-wince-mingw32ce-nm file.dll | grep ' T ' | sed 's/.* T //' >> file.def

Cheers,
Pedro Alves



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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

Reply via email to