background image

 

 

 

 

Public 
INSTRUCTION 

 

7 (13) 

Prepared (Subject resp) 

No. 

ETHBAAT Jeno Balasko 

1/1531-CRL  113 200/6 Uen 

Approved  (Document resp) 

Checked 

Date 

Rev 

Reference 

ETHLEL Elemer Lelik 

ETHGRY 

2018-05-16 

 

 

Warning:

  the version of C++ compiler used is important. If the version 

difference between the system’s compiler and the compiler that the basic 

TTCN–3 library was built with is large enough, the linking of executable test 

suites will fail with strange error messages. The reason is the different 

mapping of C++ class and (polymorphic) member function names into linker 

symbols. 

For example, this problem persists between versions 2.8.x and 2.95.x of 

GCC. Different C++ compilers (e.g. Sun Workshop and GCC) are, of course, 

totally incompatible. 

The solution for this problem is to use nearly the same version of the C++ 

compiler as the binary package was built with. 

Binaries for other operating systems or C++ compilers are available only on 

request. 

2.2 

Installing the Package 

No administrator (root) privileges are required for installation, but the install 

directory must be readable for all users of the test executor. Perform the 

following steps to install TITAN: 

Create an empty directory, for example, 

/usr/local/TTCN3

 or 

/home/<UserId>/TTCN3

. This directory will be referred as 

$TTCN3_DIR 

in the further sections of this document. 

Copy the 

.tgz 

file into this directory. 

3

 

Unpack all files from the archive using any of the following commands 

(assuming GNU tar): 

tar xvzf ttcn3-<version>-<platform>-<compiler>.tgz 

or 

gzip -dc ttcn3-<version>-<platform>-<compiler>.tgz | 

tar -xvf - 

 

The following sub-directories are created: 

 

bin 

contains the executable programs: The  Compiler, the Makefile 

Generator, the Main Controller for parallel test execution and two log 

formatter utilities. 

 

etc 

contains a demo license key, which enables to use the parser 

parts of the Compiler by any user on any host, that is, without C++ code 

generation. The installation can be tested with this demo key until the 

personalized license key is received. 

 

include 

contains the C++ header files needed to compile the 

generated C++ code. 

 

lib

 contains the pre-compiled Base Library for use with the generated 

C++ code both for single and parallel mode in static and dynamic 

linking

2

  formats. 

                                                 

2

 

Note  that  not all platforms support dynamic linking.

 

Summary of Contents for TTCN-3

Page 1: ...s components Copyright Copyright c 2000 2018 Ericsson Telecom AB All rights reserved This program and the accompanying materials are made available under the terms of the Eclipse Public License v1 0 w...

Page 2: ...quisites on Cygwin on Windows 4 2 Installing from a pre built binary package 6 2 1 Downloading the Software 6 2 2 Installing the Package 7 2 3 Install TITAN with Clang 8 3 Building Titan from source c...

Page 3: ...and keywords as well as menu commands Bold is also used with to represent key combinations For example Ctrl Click The character is used to denote a menu and sub menu sequence For example File Open Mo...

Page 4: ...If Cygwin hasn t been installed yet 1 Download and execute the latest Cygwin installer utility depending on your platform and the Titan package to be downloaded 32 bit version https cygwin com setup x...

Page 5: ...ol module development Devel git review If after selecting the required packages and clicking on the Next button a Resolving Dependencies window lists further required packages ensure that the Select r...

Page 6: ...dows Start menu or start cmd exe from the Windows Start menu and type bash exe 2 Installing from a pre builtbinary package This chapter describes obtaining the software and installing it 2 1 Downloadi...

Page 7: ...l directory must be readable for all users of the test executor Perform the following steps to install TITAN 1 Create an empty directory for example usr local TTCN3 or home UserId TTCN3 This directory...

Page 8: ...in the compiler s grammar that may cause many syntax errors in TTCN 3 modules that were translated correctly with earlier versions 2 3 Install TITAN with Clang Currently it is experimental to use TIT...

Page 9: ...ith the next paragraph of this document 4 Setting the User Environment This chapter describes the environment variables that must be set and the modification of the user login scripts 4 1 Environment...

Page 10: ...n is complete 4 2 Modification of the User Login Script The following examples provide some help in modifying the login scripts Example modifications of login script assuming bash as login shell TTCN3...

Page 11: ...AAAAAEVUSC9STC9TAAAAAAAAAAA7ygrgPayP34CzP9B0bXBqc3oAAAAAAAEAAAAB AAAAAAAAAAEAAABjAAAAYwAAAIEAAAAAAAAAADAsAhRmeNSqfy5 3iEHFsBi1miR imw2AIUdRN V3m6gDQzVeMS wFUl3UEeKgAAA END TTCN 3 LICENSE FILE The lice...

Page 12: ...ity of the license key Example printout TTCN 3 and ASN 1 Compiler for the TTCN 3 Test Executor Product number CRL 113 200 4 R2A Build date Sep 19 2014 10 17 18 Compiled with GCC 4 8 2 Copyright Ericss...

Page 13: ...T Jeno Balasko 1 1531 CRL 113 200 6 Uen Approved Document resp Checked Date Rev Reference ETHLEL Elemer Lelik ETHGRY 2018 05 16 D 6 References 1 TITAN User Guide 1 198 17 CRL 113 200 6 Uen 2 TITAN Pro...

Reviews: