This is an archived copy of the http://linux.sparta.com/VxWorks/tornado.html


Tornado Under Linux

These pages are a collaborative resource for the entire VxWorks and Open Source Community to share and contribute to.  If you have something to add, please email the maintainer.
 

02/01/99- Philippe first offers to do this, I am slow to respond.
03/08/99- Phillipe is ready to pass along what he has, plans are laid for a anon CVS server here.
03/10/99- He send me his monumental works.  Yowzah!  I promptly sit on them and do nothing.
03/11/99- Phillipe posts the stuff to neosoft.
03/15/99- Phillipe posts the newsgroup with neosoft address.  Now I have to get off my butt and post my copies : )
04/01/99- Phillipe sends an update.  Here are the release notes.


Many thanks go out to the originator of the technical content on this page, Philippe Fridu, in collaboration with South Brittany University Valoria Laboratory.
It is quite an effort.

This shell is a merge of WinSh and WtxTcl, it uses tclsh as the backbone and readline as the user interface.

TornadoSh is normally fully free and uses TCL license, it nevertheless relies on some files shipped with standard Tornado distribution that are copyrighted by WRS.

Have fun.


OK everybody, here are the downloads (right click 'em):
 
release notes (recently was JWrap 1.31)
jTCL (currently in v3.06-noarch)
jWrap-linux-x86 (currently in v1.31d)
jWrap-src (currently in v1.31d)
common-linux-x86 (currently in v3.09)

They are also available at a neosoft site.

Instructions (in the author's words):

Get the files.

The first two binaries are the minimum you have to install in order to run TornadoSh on Linux.
I personally run RH-5.2.

How to install:

  export FRIDU_HOME=/where/You/Ever/Want/To/Install
  cd $FRIDU_HOME
  tar -xzf both .tgz file

  export LD_LIBRARY_PATH $FRIDU_HOME/jWrap-1.30/lib
  export PATH=$FRIDU_HOME/jWrap-1.30/bin:$PATH

  TornadoSh.tcl --registry=xxx --target=xxx
   --> set A   [malloc 100]
   --> fprintf "number=%d and string=%s \n" {--int 123} {--string 123}

Compile the third file, if necessary (i.e. you're on an Alpha or SPARC), but normally it should go fine and run out of the box, if we don't have trouble with dll.

The fourth file is the common stuff for x86, needed when recompiling.

I develop on RH-5.2, but the binaries run on Debian after some symbolic links are made in order to make shared libraries' names equivalent.
I also shipped a Solaris-Sparc version (the neosoft download only), in this case user should take care using a tclsh that as been compiled with --enable-share.

Outside of those share libraries name, system should run almost out of the box.

% TornadoSh.tcl --registry=yyyy --target=xxxx
- --> set    A  [malloc 12]
- --> free   $A
- --> printf "int=%d string=%s\n" 123 {--string 123}
- --> exit

TornadoSh is a module of jWrap. Jwrap provides a very generic mechanism
to map C routines from Host or Target into TCLSH. Modules can be load
statically or dynamically in any tcl8/wish, jWrap support both C and C++
nevertheless current version of WTX limit Tornado interface to C.

This is a first version, any comments are welcome.



Complaints to Webmaster.

Site Home.
Insert shameless plug for site sponsor -< here >-

Last modified March 15, 1999.