source: Sophya/trunk/SophyaExt/JThreadsC++/README@ 3359

Last change on this file since 3359 was 2437, checked in by cmv, 22 years ago

chgt DPC...REP en SOPHYA...REP et EROSCXX en SOPHYACXX cmv 17/09/2003

File size: 2.2 KB
Line 
1The JThreads/C++ is a C++ class library implementing
2multi-threading with Java look & feel, developped by:
3
4 Object-Oriented Concepts, Inc.
5 44 Manning Road
6 Billerica, MA 01821
7 ( http://www.ooc.com/ )
8
9(See the licence agreement in JTCSrc/LICENCE)
10
11The source code here corresponds to version 1.0.10 and
12has been downloaded from the OOC web site (May 2000).
13A specific makefile (Makefile) has been written, with
14support for DEC/Compaq TruUnix64, cxx, Linux and g++,
15as well as SGI IRIX-64 (and SGI-CC) and KCC.
16
17Note: The static library which is build (libJTC.a)
18by the present version of the Makefile may not
19work for all compilers.
20
21The config file (JTC/Config.h) has been modified to
22provide multiple platform / multiple compiler support
23using switches (#ifdef) in a single file.
24
25***********************************************
26***** Building and installing the library *****
27***********************************************
28
291) Select the compiler through the environment variable
30SOPHYACXX
312) Build the libray (make in JTCSrc)
323) Define the path for installation through the
33JTCBASEREP environment variable
344) Install (make install in JTCSrc)
355) Try to build and test the example programs
36(make in Examples/) - The LD_LIBRARY_PATH should
37contain $JTCBASEREP/`uname`-$SOPHYACXX/ShLibs
386) The use of GNU make is mandatory
39
40The example below shows the installation and building
41for a Dec/Compaq machine, with the native cxx compiler,
42using c-shell commands. (uname = OSF1)
43
44Cmd> setenv SOPHYACXX cxx
45Cmd> setenv JTCBASEREP /usr/local/
46Cmd> cd JTCSrc
47# GNU make program should be used
48Cmd> make
49# Create the Objs directory for .o .a .so files
50Cmd> make install
51# Creates /usr/local/Include/JTC for include files
52# /usr/local/OSF1-cxx/Libs (libJTC.a)
53# /usr/local/OSF1-cxx/ShLibs (libJTC.so)
54# Copies .h files and .a .so libraries
55
56# make clean can be used to remove the Objs directory
57# (Use make clean before building a new version)
58Cmd> make clean
59
60Build and run the example programs :
61Cmd> cd ../Examples
62Cmd> make
63Cmd> setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${JTCBASEREP}/OSF1-cxx/ShLibs
64Cmd> ./diner or ./hello ...
65
66
67
Note: See TracBrowser for help on using the repository browser.