equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Implementation of the main function for elf2e32 tool |
|
15 // @internalComponent |
|
16 // @released |
|
17 // |
|
18 // |
|
19 |
|
20 // |
|
21 #include "elf2e32.h" |
|
22 |
|
23 /** |
|
24 This function creates an instance of Elf2E32 and calls Execute() of Elf2E32 to generate |
|
25 the appropriate target. |
|
26 @internalComponent |
|
27 @released |
|
28 |
|
29 @param aArgc |
|
30 The number of command line arguments passed into the program |
|
31 @param aArgv |
|
32 The listing of all the arguments |
|
33 |
|
34 |
|
35 @return EXIT_SUCCESS if the generation of the target is successful, else EXIT_FAILURE |
|
36 |
|
37 */ |
|
38 int main(int argc, char** argv) |
|
39 { |
|
40 Elf2E32 aElf2E32(argc, argv); |
|
41 return aElf2E32.Execute(); |
|
42 } |
|
43 |