|
Re: Migrating Titan to Windows [message #1722789 is a reply to message #1722776] |
Tue, 09 February 2016 07:55 |
|
Hi Murli,
Titan is built around Unix system calls, so directly compiling it on Windows will not work.
One either has to replace Unix system calls to equivalent Windows system calls (if at all possible) or emulate some kind of a Unix environment around it.
We did not explore the first option as it seems rather tedious and success does not seem guaranteed.
For the second we have the Cygwin alternative , which comes at the cost of somewhat decreased performance and other compromises.
(There might be other technical possibilities we did not look into, like libraries that support migrating Unix software to Windows, but I have no information in this area.)
There is an alternative though that may be interesting for you: we are working on a prototype , in cooperation with the Budapest Technical University , of an extension to the Titan Java plug-ins that will add Java code generation and execution. The existing Designer plug-in already does half of the job : syntactical and semantical analysis , building the Abstract Syntax Tree etc. Don't put your hopes too high up though: the prototype currently is generating code for a subset of TTCN-3 language and executes it , but it's at least one year, maybe more, away from industrialization.
However , if you are interested to cooperate in this project , please let me know. Needless to say , Java code generation is supposed to solve portability to Windows.
Best regards
Elemer
|
|
|
Re: Migrating Titan to Windows [message #1722831 is a reply to message #1722776] |
Tue, 09 February 2016 13:44 |
|
Hi Murli,
I have been using Titan on Windows for almost 7 years now, at work, everyday.
Yes, compilation is a bit slower than in Linux, and yes, it's not native.
However, I believe the power of Titan is so great that you can enjoy it in your favorite platform, and in your case you are in luck since that includes Windows.
For running it in Windows you would install cygwin from https://www.cygwin.com/ and then Titan. Eclipse and the Titan plugins work well in Win and Linux, so no issues there.
This setup is been working well for many colleagues and myself all these years. I'm pretty sure it can work well for you too.
All the best
Gustavo.
|
|
|
|
|
Re: Migrating Titan to Windows [message #1722968 is a reply to message #1722898] |
Wed, 10 February 2016 15:34 |
|
Hi Murli,
Pure windows C++ compilation will not work. There are a lot of UNIX dependency in the titan code. You need a Unix-like environment, for example VirtualBox virtual machine or cygwin. Depending on the used third party libs cygwin can be used or not because it is not a real Linux. Really huge test sotwares ( More millions ttcn code) can ran one or more Linux machine(s) only.
Br
Jeno Balasko
Titan Team, Ericsson
|
|
|
Powered by
FUDForum. Page generated in 0.02955 seconds