Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Hello,

I have problems when I tried to compile my application using gcc. When it compiles GCCResolver.c, there are lots of errors like:

GCCReolver.c: 24: error: 'size_t' was not declared in this scope
GCCReolver.c: 24: error: parse error before '>' token
GCCReolver.c: 25: error: 'operator new' takes type 'size-t' <'long unsigned int'> as first parameter

............

Anybody could please help me? Thanks!

what arguments are you providing? the ones that work for me are:
D:\gnude/bin/arm-elf-gcc.exe -c -DDYNAMIC_APP -mcpu=arm7tdmi -mapcs-frame -mthumb-interwork -mlittle-endian -fshort-enums -fno-builtin -ID:\gnude/1.1/inc -ID:\gnude/lib/gcc-lib/arm-elf/include -ID:\gnude/arm-elf/include -O2 -o GCCResolver.o D:\gnude/GCCResolver.c
-Tyndal

what arguments are you providing? the ones that work for me are:
D:\gnude/bin/arm-elf-gcc.exe -c -DDYNAMIC_APP -mcpu=arm7tdmi -mapcs-frame -mthumb-interwork -mlittle-endian -fshort-enums -fno-builtin -ID:\gnude/1.1/inc -ID:\gnude/lib/gcc-lib/arm-elf/include -ID:\gnude/arm-elf/include -O2 -o GCCResolver.o D:\gnude/GCCResolver.c
-Tyndal