<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>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).</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>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.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>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)?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>these are my given
circumstances:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>* Symbian-9.2-SDK +
CSL Toolchain + Posix-Addon + Carbide 1.2 (which together should result in a
complete toolchain)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>* Windows
XP</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>* CMake
2.6</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>My current toolchain
file looks like this (i'm working on the built-in
XP-console):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008><A
href="https://www.ran-dom.org/public/mixer-frans/brandneu/cmake-toolchain_files/toolchain-symbian-9.2-fp1-gcce-arm.cmake">https://www.ran-dom.org/public/mixer-frans/brandneu/cmake-toolchain_files/toolchain-symbian-9.2-fp1-gcce-arm.cmake</A></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>I've appended a
working compile command (snapshoted when called within the carbide
IDE)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>thanks for help in
advance,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008>Frans</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>successful compile
command snapshot (every argument in an extra line for convenience
only):</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=611274607-17072008>arm-none-symbianelf-g++ <BR>-O2
<BR>-fno-unit-at-a-time <BR>-Wall <BR>-Wno-ctor-dtor-privacy
<BR>-Wno-unknown-pragmas <BR>-fexceptions
<BR>-march=armv5t <BR>-mapcs <BR>-pipe
<BR>-nostdinc <BR>-c
<BR>-msoft-float <BR>-DNDEBUG <BR>-D_UNICODE
<BR>-D__GCCE__ <BR>-D__SYMBIAN32__ <BR>-D__SERIES60_31__
<BR>-D__SERIES60_3X__ <BR>-D__GCCE__ <BR>-D__EPOC32__ <BR>-D__MARM__
<BR>-D__EABI__ <BR>-D__MARM_ARMV5__ <BR>-D__EXE__
<BR>-D__SUPPORT_CPP_EXCEPTIONS__ <BR>-D__MARM_ARMV5__
<BR>-D__PRODUCT_INCLUDE__=\"/Symbian/9.2/S60_3rd_FP1/epoc32/include/variant/Symbian_OS_v9.2.hrh\"
<BR>-x c++ </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>-include
/Symbian/9.2/S60_3rd_FP1/EPOC32/INCLUDE/GCCE/GCCE.h </SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>-I <user defined
includes><BR>...</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=611274607-17072008>-I
/Symbian/9.2/S60_3rd_FP1/EPOC32/include <BR>-I
/Symbian/9.2/S60_3rd_FP1/EPOC32/include/stdapis <BR>-I
/Symbian/9.2/S60_3rd_FP1/EPOC32/include/stdapis/stlport <BR>-I
/Symbian/9.2/S60_3rd_FP1/epoc32/include/variant <BR>-I "C:/Program Files/CSL Arm
Toolchain/bin/../lib/gcc/arm-none-symbianelf/3.4.3/include" <BR>-o
/Symbian/9.2/S60_3rd_FP1/EPOC32/BUILD/test.o
<BR>/test.cpp<BR></SPAN></FONT></DIV>
<DIV align=left><FONT face="Courier New" size=2></FONT> </DIV>
<DIV align=left><FONT face="Courier New" size=2>--</FONT></DIV>
<DIV align=left><FONT face="Courier New" size=2>Dipl.-Inf.(univ.) Frans Fürst,
Software Engineer <BR> <BR>Tel.: +49-9131-7701-6298 </FONT><A
href="mailto:Frans.Fuerst@elektrobit.com"><FONT face="Courier New"
size=2>mailto:Frans.Fuerst@elektrobit.com</FONT></A><BR><FONT face="Courier New"
size=2> <BR>Elektrobit Automotive GmbH, Am Wolfsmantel 46<BR>91058
Erlangen, Germany<BR>Managing Director Otto Fößel<BR>Register Court Fürth HRB
4886<BR> </FONT></DIV>
<DIV> </DIV><pre>
----------------------------------------------------------------
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.
</pre>
</BODY></HTML>