# Using GCCE and P.I.P.S.

There are some known issues when compiling a P.I.P.S. application containing the main() entry point and using the GCCE target compiler. A workaround is described in this section:

A workaround is described in this section:

1. Patch file \epoc32\tools\compilation_config\gcce.mk file with the following details:

```        AR=arm-none-symbianelf-ar
ARCHIVER=\$(AR)
export ARCHIVER
```
2. Modify the MMP file with the following statement:
```         STATICLIBRARY libcrt0.lib
```
3. Build the application using the GCCE target like abld build gcce urel .

The user code may look like the following:

```      #include <stdio.h>

int main(void)
{
printf("Hello Open C!\n");
printf("Press a character to exit!");
getchar();
return 0;
}
```