Creating a GCCE UREL build of an example application

Creating a GCCE UREL build of an example application from the command line interface

  1. In the Windows Start menu, open the Command Prompt by choosing Start > All Programs > Accessories > Command Prompt.

  2. In the command prompt, use the cd command to switch to the directory in which the example application is located (in this case the Hello World Basic example application):

    cd <S60_SDK_installation_directory>\S60CppExamples\HelloWorldBasic

  3. Use the cd command to go to the group directory:

    cd group

  4. Enter the following command:

    bldmake bldfiles

  5. Enter the following command:

    abld build gcce urel

    or

    abld build gcce udeb (if you want to utilize the on-device debugging feature provided by the SDK)

The build script creates a GCCE UREL build of the application to the following directory:

<S60_SDK_installation_directory>\Epoc32\release\gcce\urel\HelloWorldBasic.exe

Next, you need to create a .sis file of the application.

Creating a GCCE UREL build of an example application with Carbide.c++

To create a GCCE UREL build of an example application with Carbide.c++, do the following:

  1. Select Project > Properties from the menu bar.

  2. In the Properties dialog, click C/C++ Build in the dialog TOC.

  3. Select "S60 5.0 GCCE UREL" from the Configuration drop-down menu.

  4. Click OK.

  5. Select Project > Build Project from the menu bar.

Carbide.c++ creates a build of your project according to the current configuration determined in the Properties dialog - in this case, a GCCE build - as well as the .sis file of this project, which is needed for installing it to a real device.

Next, you need to sign the .sis file.

For more information on building a project and installing an application to real S60 device, please refer to the following topics in the Carbide.c++ Help:

  • Carbide.c++ User Guide > Getting Started > First Application Example > 5. Building a Symbian OS Executable

  • Carbide.c++ User Guide > Getting Started > First Application Example > 6. Deploying Programs

  • C/C++ Development User Guide > Tasks > Building projects