Hi,

Naushit Sakarvadia wrote:
>
> I am trying to  build   static library ( .lib in msvc world  & .a in  
> gcc world).
>
> Is it possible to build .lib using cegcc?  and then use it  in msvc 
> project as add on static library?
>
> Or in other words  
>
> Does "arm-wince-cegcc-ar" generate  msvc compatible static library?

1) It depends on what you want to do.  A .lib is a bundle of unlinked 
object files.  If you
are talking about C code, it should work.  C++ will not, and that is 
true for any combination
of c++ compilers - the ABIs are different.

2) cegcc is designed to depend on cegcc.dll.  Since you are building a 
static lib, you would have to
add cegcc.dll to your link command in MSVC, and most important, would 
have to initialize
cegcc.dll properly.  We have another compiler that I think is better 
suited for your case.
We have two toolchains - cegcc and mingw32ce.  The later produces code 
that doesn't depend on any
external dll - did you consider using mingw32ce instead?

Cheers,
Pedro Alves



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to