
To install a thread safe version of Clean on 64 bit linux:

- install Clean 2.4 as usual

- replace the file cg in the directory lib/exe with the new one in the CleanLinux64TS directory.

- delete all object files (with extension .o) in the directory lib/StdEnv/Clean System Files.

- copy the new _startup.o in the CleanLinux64TS to the directory lib/StdEnv/Clean System Files.

- generate _system.o using:
	bin/clm -O _system

- generate the other object files of the StdEnv with:
	bin/clm -PO StdEnv
	bin/clm -O StdDebug
	bin/clm -PO StdOverloadedList
	bin/clm -O StdGeneric

To compile use options -l -lpthread with clm. For example:

	clm -l -lpthread thread

To compile mandelbrot use:

	clm -sl gtk -I gtk mandelbrot

To compile test_graph_copy use:

	clm -l -lpthread -I graph_copy test_graph_copy

To compile the code generator from the svn sources, use:
	make -f Makefile.linux64t

To build _startup.o from the svn sources, use
	./make_astartup.csh
in the thread directory, _startup.o is created in directory thread/linux64

The source code can be downloaded using svn from:

https://svn.cs.ru.nl/repos/clean-code-generator/
https://svn.cs.ru.nl/repos/clean-run-time-system/

