sbsv1/buildsystem/test/helloworld/HelloWorld.cpp
author lorewang
Wed, 17 Nov 2010 11:21:28 +0800
changeset 684 2defe8c85348
parent 599 fa7a3cc6effd
permissions -rw-r--r--
elf2e32 treatment of ARM$$INIT_ARRAY$$Base can break GCCE builds
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     1
// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     2
// All rights reserved.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     3
// This component and the accompanying materials are made available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     4
// under the terms of "Eclipse Public License v1.0"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     5
// which accompanies this distribution, and is available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     7
//
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     8
// Initial Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     9
// Nokia Corporation - initial contribution.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    10
//
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    11
// Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    12
//
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    13
// Description:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    14
//
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    15
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    16
#include "CommonFramework.h"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    17
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    18
// do the example
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    19
LOCAL_C void doExampleL()
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    20
    {
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    21
	_LIT(KHelloWorldText,"Hello world!\n");
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    22
	console->Printf(KHelloWorldText);
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
	}