Hi Nuno, Quoting Nuno Lucas <[EMAIL PROTECTED]>:
> Some functions in math.h (like rint), are inlined in the math.h > header, but fail to compile with an error when used: > > <output> > [EMAIL PROTECTED]:~/prjs/wince/cegcc/test/math_h_header$ cat main.c > #include <math.h> > int main( void ) > { > double i = rint( 3.14 ); > return 0; > } > [EMAIL PROTECTED]:~/prjs/wince/cegcc/test/math_h_header$ > arm-wince-mingw32ce-gcc > main.c > main.c: In function 'main': > >/home/lucas/apps/mingw32ce/lib/gcc/arm-wince-mingw32ce/4.1.0/../../../../arm-wince-mingw32ce/include/math.h:638: > error: impossible constraint in 'asm' I made a first approach to port the src/mingw/mingwex/math dir this weekend, It is currently mostly i386/i387 asm, like what is found in that peace of code you are guarding with ifndef __MINGW32CE__. I've done 99% of the work minus testing, using code that is found on newlib/libm/math. That code is mostly copyrighted by Sun, with a very permissive license. Most of the work was deciding what to leave out because it is already found in coredll.dll. I will commit or post the code later tonight, which includes a similar fix, but using __i386__ instead, since I just got Internet access at home (hurray!). The other patches you posted seem fine. I will commit them later if Danny beat me to it. Cheers, Pedro Alves P.S.: I have also few FFMpeg patches that make it build with mingw32ce. __________________________________________________________ Pare de esbanjar dinheiro! Compare o preço da sua ligação à Internet http://acesso.portugalmail.pt/maisbarato ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel