CONFIG_TCC = y
CONFIG_MEMCHECK = y
CONFIG_MODULES = y
and make clean then make 5D3
ok, done but got tcc errors
../../src/tcc-glue.c: In function 'tcc_compile_and_run':
../../src/tcc-glue.c:34:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
../../src/tcc-glue.c:39:11: warning: 'main' is usually a function [-Wmain]
../../src/tcc-glue.c:66:9: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
../../src/tcc-glue.c: In function 'open':
../../src/tcc-glue.c:146:5: warning: passing argument 2 of 'FIO_GetFileSize' from incompatible pointer type [enabled by default]
../../src/dryos.h:518:1: note: expected 'uint32_t *' but argument is of type 'unsigned int *'
../../src/tcc-glue.c: In function 'read':
../../src/tcc-glue.c:179:5: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast [enabled by default]
../../src/dryos.h:535:1: note: expected 'const void *' but argument is of type 'long unsigned int'
../../src/tcc-glue.c: In function 'close':
../../src/tcc-glue.c:187:5: warning: passing argument 1 of 'free_dma_memory' makes pointer from integer without a cast [enabled by default]
../../src/dryos.h:544:1: note: expected 'const void *' but argument is of type 'int'
../../src/tcc-glue.c: In function 'fputc':
../../src/tcc-glue.c:240:1: warning: number of arguments doesn't match built-in prototype [enabled by default]
../../src/tcc-glue.c: In function 'tcc_compile_and_run':
../../src/tcc-glue.c:78:8: warning: 's' may be used uninitialized in this function [-Wuninitialized]
[ CC ] tcc-gui.o
[ CC ] script_lib.o
make -C ../../tcc
make[2]: se ingresa al directorio `/home/PH/magic-lantern/tcc'
../../../arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2.exe -o libtcc.o -c libtcc.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -I. -Os -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result
make[2]: ../../../arm-toolchain462/bin/arm-none-eabi-gcc-4.6.2.exe: No se encontrĂ³ el programa
Makefile:189: recipe for target `libtcc.o' failed
make[2]: *** [libtcc.o] Error 127
make[2]: se sale del directorio `/home/PH/magic-lantern/tcc'
../../Makefile.inc:378: recipe for target `../../tcc/libtcc.a' failed
make[1]: *** [../../tcc/libtcc.a] Error 2
make[1]: se sale del directorio `/home/PH/magic-lantern/platform/5D3.113'
Makefile:70: recipe for target `5D3' failed
make: *** [5D3] Error 2
Here is my Makefile.user:
GCC_VERSION=4.6.2
ARM_ABI=none-eabi
ARM_PATH=../../../arm-toolchain462
ARM_LIBC_A=../../../arm-toolchain462/arm-none-eabi/lib/libc.a
PYTHON=python2.6
CONFIG_TCC = y
CONFIG_MEMCHECK = y
CONFIG_MODULES = y