background image

 

 

 

 

Public 
INSTRUCTION 

 

8 (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 

 

 

 

man

  contains UNIX manual pages (for the Compiler and the Makefile 

Generator). 

 

demo 

contains a simple TTCN–3 test suite (” Hello, world!”) together 

with a sample test port and a compiled executable. 

 

doc 

contains this documentation in PostScript and PDF formats. 

To complete the TITAN TTCN–3 Test Executor installation,  some 

environmental variables should be set and the login script should be modified. 

Note:

  The  C++ source code generated by this version (patch level) of 

Compiler is not compatible with older versions of TTCN–3 Base Library and 

vice versa.

3

 

If upgrading TITAN from an older version, all modules of existing test suites 

must be re-translated with the new compiler in order to make them running 

with the new libraries. 

It is recommended to make a backup copy of the older version of the 

distribution. There are some minor incompatibilities 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 TITAN with clang on Ubuntu operating 

system.  It was tested only on Ubuntu.  In order to use TITAN with clang on 

Ubuntu some steps must be done: 
1.  Install 

clang-3.8

 (3.8 is the required version).

 

2.  Go into your TITAN installation directory and open (or create) the 

Makefile.personal file and add the following lines:

 

CXX := clang++-3.8 

CC := clang-3.8   

3.  If TITAN  is already  compiled run 

make distclean 

command

 

4.  To compile TITAN with clang run 

make

 and 

make install

 commands. 

 

There are some important notes about using clang with TITAN: 

 

  The C++ source code generated and TITAN  must be compiled with the 

same version of clang. See section 2.2 note.  

  Makefiles of TTCN-3 projects must be modified by hand 

(replace 

CXX = g++

 with 

CXX = clang++3.8

). Or regenerated using 

makefilegen

, to use clang compiler. TITAN’s 

makefilegen

 can detect if it 

was compiled with clang and will generate makefiles with clang as default 

C++ compiler. 

  Required clang version is 

3.8

 

                                                 

3

 

Sometimes even the linking fails; but a successful linking does not mean that  everything  is correct at all.

 

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: