Thanks a lot for the reply.
The initial project is a C project which is running properly without any errors. Now what I am trying to do is to write an application which is in C++.
If I create a seperate C++ project it works fine which means CW is taking the C++ libraries properly and linking them.
Now 2 things are not clear to me:
1. Libraries are stored in
<MWERKS_INSTALL_PATH>\CodeWarrior PowerPC Comm V8.5\PowerPC_EABI_Support\Runtime\Lib\
Which library is used by default, there are so many variants (Runtime.PPCEABI.A/E/N/NC/S) ??
2. What is the need of following code in file __init_cpp_exceptions.cpp ?? Coz the two highlighed lines are giving me the errors.
#if __MWERKS__ && __PPC_EABI__
#pragma section ".ctors$10"
__declspec(section ".ctors$10")
extern void * const __init_cpp_exceptions_reference = __init_cpp_exceptions;
#if __dest_os != __eppc_vxworks
#pragma section ".dtors$10"
__declspec(section ".dtors$10")
extern void * const __destroy_global_chain_reference = __destroy_global_chain;
#pragma section ".dtors$15"
__declspec(section ".dtors$15")
extern void * const __fini_cpp_exceptions_reference = __fini_cpp_exceptions;
#endif /* __dest_os != __eppc_vxworks */
#endif /* __MWERKS__ && __PPC_EABI__ */
Thanks !!