CLDC: generic c configuration: is it possible to build ?
I tried to build the most platform independent configuration of the CLDC (based on phoneme r3) so I specified new build configuration like that :
host_os = win32
host_arch = i386
os_family = generic
compiler = gcc
arch = c
MakeDepsMain_generic = WinGammaPlatform
MakeDepsOpts_generic = -resolveVpath true
export ENABLE_C_INTERPRETER := true
export ENABLE_C_INTERPRETER__BY := generic_c.cfg
export ENABLE_INTERPRETER_GENERATOR := false
export ENABLE_INTERPRETER_GENERATOR__BY := generic_c.cfg
export ENABLE_COMPILER := false
export ENABLE_COMPILER__BY := generic_c.cfg
MERGE_SOURCE_FILES = true
SOURCE_MERGER_SIZE = 35
LOOP_GEN_FLAGS = +GenerateGNUCode
ROM_GEN_FLAGS = +GenerateGNUCode
export ENABLE_TIMER_THREAD = true
unfortunately it doesn't work. It stops when linking ROM generator. I assume it is caused by variable MakeDepsMain_generic which is set to WinGammaPlatform. As I understand this value will change the behaviour of the process of generation of dependency files. In fact the value is the name of the java class that is used when the "buildtool.jar makedep" is called. I tried both WinGammaPlatform and UnixPlatform but unfortunatelly none of them works correctly (dependencies are incorrectly generated so the compilation / linking stopped).
Did anyone try to compile most "stubbed" version of cldc ? I mean the version where all of the code is generic and without platform specific implementation ? If so, what was the configuration file ? Thanks.
Message was edited by: ole00