Files
mercury/extras/graphics/samples/calc/README
Ian MacLarty 61c38eba2f Port the Tcl/Tk binding to Mac OS X.
Estimated hours taken: 5
Branches: main and 0.12

Port the Tcl/Tk binding to Mac OS X.

extras/graphics/mercury_tcltk/HOWTO:
	Remove the remark about interior pointers since it is no longer
	applicable.

extras/graphics/mercury_tcltk/Mmakefile:
	Try to link with tcl/tk 8.4 by default.

extras/graphics/mercury_tcltk/Mmakefile.MacOSX:
	Mmakefile for Mac OS X.

extras/graphics/mercury_tcltk/README:
	Mention Mmakefile.MacOSX.

extras/graphics/mercury_tcltk/mtcltk.m:
	Include the headers from a different location on Mac OS X.

extras/graphics/samples/calc/Mmakefile.MacOSX:
	Add a Mmakefile to compile the Tcl/Tk example on Mac OS X.

extras/graphics/samples/calc/README:
	Add a README.

extras/graphics/samples/calc/calc.m:
	Add spaces around some of the characters on the buttons, so that they
	are visible in Mac OS X.
2005-08-15 04:11:43 +00:00

21 lines
585 B
Plaintext

A simple calculator using the Mercury Tcl/Tk binding.
Before building this example you will need to build
the Tcl/Tk binding in ../mercury_tcltk.
To compile the example on Linux do:
mmake depend
mmake
To compile the example on Mac OS X:
If you built the mercury_tcltk library on Mac OS X, but haven't installed it,
then do:
mmake -f Mmakefile.MacOSX depend
mmake -f Mmakefile.MacOSX
export DYLD_LIBRARY_PATH=../../mercury_tcltk
If you installed the mercury_tcltk library on Mac OS X,
then you will need to use the following command to build the example:
mmc calc -lmercury_tcltk