2. Run the build script and grab a coffee or what ever is appropriate:

sudo ./build-cegcc.sh

3. Add the path to your bashrc settings:

export PATH=$PATH:/opt/cegcc/bin

4. Test the install with the following file and command:
test.c:

#include <stdio.h>
int WinMain()
{
printf("Testing\n");
}

Compile line:

arm-wince-cegcc-gcc -o maintest.exe test.c

The only warning that should appear is:

Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import)

If there are other errors please check the source file, the CeGCC mailing list, the forum on this or Wiki page.

NOTE: The cegcc carries the same syntax as gcc. For example -I for include directories -l for libraries to include.

5. Notes about CeGCC and SyncE: The CeGCC tool set was made to be used with the SynCE toolset. pcp to copy files to the connected PocketPC, and prun to remotely run an executable on the connected PocketPC device.
6. Sample make file (taken from the example make file provided from the sources (doc/examples/Makefile)