john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

cegcc

cegcc project notes

NOTE: IF YOU ARE USING WINDOWS YOU MUST INSTALL CYGWIN

cygwin is an application that creates a linux directory that linux based applications can use... of course, you'll have to run them from the Cygwin BASH command line prompt

http://www.cygwin.com/ setup.exe, this will allow you to download/install cygwin

arm-mingw32ce contains windows binaries

arm-mingw32ce -> support Windows CE on ARM (aka above is mingw implementation, not ncessarily POSIX, native API + native libc)

arm-cegcc -> with newlib, meaning it has some unix-like api support. Also for Windows CE on ARM. (

i386-mingw32ce -> support Windows CE on i386 (and clones)

\cegcc\arm-mingw32ce\bin\gcc.exe

gives an error, cygwin1.dll missing

luckily I have a gcc port with cygwin1.dll I can copy over...

I also needed to move the Include and Lib folders into a local path

\cegcc\arm-mingw32ce\bin\include \cegcc\arm-mingw32ce\bin\lib

I also setup a batch file to simplify compiling...

arm-mingw32ce-gcc.exe -o %1.exe %1 -Iinclude -Llib -Wall -ansi

pocketgcc


  • « javascript validation example2
  • gcc compiling optimization »

Published

Feb 6, 2010

Category

c-programming-guides

~152 words

Tags

  • c-programming-guides 25
  • cegcc 1