On Mon, 2007-01-22 at 16:26 +0000, Cool_Zer0 wrote:
> When Pedro told me to used MingW32CE he told me to use the .rpm... 

He probably didn't remember that you use Windows.

> When I try to compile ffmpeg with that gcc he complains that he can't 
> find the math library (-lm)...

arm-wince-cegcc is good for porting stuff from unix-like environments,
because it offers all kinds of well known goodies. arm-wince-mingw32ce
is much closer to native Windows CE because it intentionally lacks
those. Both sets of tools have their goals and their advantages and
disadvantages.

The cegcc toolchain was certainly the easiest way to get started.

You'll find further down that it's currently the only way. Keep on
reading ...

I've edited all occurrences of "-lm" out of the configure script
(otherwise it fails on that when you give it the mingw32ce toolchain to
use). Then the configure worked.

Next error was that common.h likes to include <errno.h>. The solution to
this one is simple :
*** common.h~   2006-12-08 01:35:08.000000000 +0100
--- common.h    2007-01-22 20:33:45.000000000 +0100
***************
*** 38,44 ****
--- 38,46 ----
  #    include <ctype.h>
  #    include <limits.h>
  #    ifndef __BEOS__
+ #ifndef       __MINGW32CE__
  #        include <errno.h>
+ #endif
  #    else
  #        include "berrno.h"
  #    endif


After a while, the build fails with :
/opt/mingw32ce/lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-mingw32ce/include/math.h:355:
 error: impossible constraint in 'asm'

That math.h file is from mingw (src/mingw/include/math.h in our svn) so
the problem is probably that this is x86 assembler.

In other words : this is a bug, it prevents you from using the
arm-wince-mingw32ce toolchain for ffmpeg for now.

        Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
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