I can succesfully build and link my project from command line (SDK S60-SDK-0616-3.0-mr.3.749) both on target WINSCW and GCCE.
I need to build it from Carbide.c++ (Developer) to run on-device debugging.
From Carbide I get several linking problems: I have to comment "extern C" statements otherwise I can't compile libraries and anyway, while linking the app altogether, references from C code are not found.
I suspect the cause being Carbide compiling both C and C++ file with option "-x c++" (I can see it from console prints), while SDK command line is based on gcce.mk options stating:
# For .cpp Source files
# For .c Source files
that make it work correctly.
Does anybody know how to make Carbide distinguish between C and C++ source files?
(By the way, CodeWarrior had the same problems).