Trevor MacPhail wrote:

>Is it possible for me to modify the cegcc build scripts to compile an  
>x86 targeted compiler? Specifically for running in the windows mobile  
>2003 emulator in embedded visual studio which is x86 instead of arm.  
>I can't use visual studio to compile it because my code is not visual  
>studio friendly apparently. (My code compiled for arm by visual  
>studio crashes constantly while the same code compiled by arm-wince- 
>pe-gcc  works perfectly)
>
>  
>

No, not just the build scripts.
The easiest approach would be to download an x86 mingw compiler,
tweak our version of src/mingw (taillored for wince/coredll) so it 
builds for x86 but with the coredll runtime,
and change the default subsystem to 9 (CE) by command line switches.
You would then be able to compile your app for the emulator.
But, why bother? You can get an arm emulator from MS for free:
http://www.microsoft.com/downloads/details.aspx?familyid=C62D54A5-183A-4A1E-A7E2-CC500ED1F19A&displaylang=en

There is an page on the old berlios Wiki about this:
http://cegcc.berlios.de/wiki/index.php/Usage

Cheers,
Pedro Alves


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

Reply via email to