[CMake] generic Symbian gcce-toolchain file

Frans.Fuerst at elektrobit.com Frans.Fuerst at elektrobit.com
Thu Jul 17 05:54:44 EDT 2008


Hi,
 
I'm trying to use CMake to build Symbian 9.2-FP1 (S60) executables in a generic way (i.e. not building mmp-files which have to be interpreted by perl-scripts provided with the SDKs).
There have been similar questions asked here before but I haven't found a complete answer yet that would make it possible for me to establish a Symbian-capable build-system from scratch.
 
Is someone out there who can hear me and already managed to compile for a Symbian phone using CMake (and willing to share his knowledge)?
 
these are my given circumstances:
* Symbian-9.2-SDK + CSL Toolchain + Posix-Addon + Carbide 1.2 (which together should result in a complete toolchain)
* Windows XP
* CMake 2.6
 
My current toolchain file looks like this (i'm working on the built-in XP-console):
https://www.ran-dom.org/public/mixer-frans/brandneu/cmake-toolchain_files/toolchain-symbian-9.2-fp1-gcce-arm.cmake
 
I've appended a working compile command (snapshoted when called within the carbide IDE)
 
thanks for help in advance,
Frans
 
successful compile command snapshot (every argument in an extra line for convenience only):
 
arm-none-symbianelf-g++    
-O2 
-fno-unit-at-a-time  
-Wall 
-Wno-ctor-dtor-privacy 
-Wno-unknown-pragmas  
-fexceptions 
-march=armv5t      
-mapcs 
-pipe 
-nostdinc 
-c    
-msoft-float       
-DNDEBUG 
-D_UNICODE 
-D__GCCE__  
-D__SYMBIAN32__ 
-D__SERIES60_31__ 
-D__SERIES60_3X__ 
-D__GCCE__ 
-D__EPOC32__ 
-D__MARM__ 
-D__EABI__ 
-D__MARM_ARMV5__ 
-D__EXE__ 
-D__SUPPORT_CPP_EXCEPTIONS__ 
-D__MARM_ARMV5__  
-D__PRODUCT_INCLUDE__=\"/Symbian/9.2/S60_3rd_FP1/epoc32/include/variant/Symbian_OS_v9.2.hrh\" 
-x c++ 
-include /Symbian/9.2/S60_3rd_FP1/EPOC32/INCLUDE/GCCE/GCCE.h  
 
-I <user defined includes>
...
 
-I /Symbian/9.2/S60_3rd_FP1/EPOC32/include 
-I /Symbian/9.2/S60_3rd_FP1/EPOC32/include/stdapis 
-I /Symbian/9.2/S60_3rd_FP1/EPOC32/include/stdapis/stlport 
-I /Symbian/9.2/S60_3rd_FP1/epoc32/include/variant 
-I "C:/Program Files/CSL Arm Toolchain/bin/../lib/gcc/arm-none-symbianelf/3.4.3/include" 
-o /Symbian/9.2/S60_3rd_FP1/EPOC32/BUILD/test.o 
/test.cpp

 
--
Dipl.-Inf.(univ.) Frans Fürst, Software Engineer 
 
Tel.: +49-9131-7701-6298 mailto:Frans.Fuerst at elektrobit.com <mailto:Frans.Fuerst at elektrobit.com> 
 
Elektrobit Automotive GmbH, Am Wolfsmantel 46
91058 Erlangen, Germany
Managing Director Otto Fößel
Register Court Fürth HRB 4886
 
 


----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080717/303e2cd1/attachment.htm>


More information about the CMake mailing list