From 28809220ea3e485c8d7d262ff2534b3db321b704 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 25 Feb 2009 10:26:25 +0000 Subject: [PATCH] 2009-02-24 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + INSTALL + Installation docs kept simple. ; TODO: Add it to install packages. Test and extend as needed. --- harbour/ChangeLog | 5 +++++ harbour/INSTALL | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 harbour/INSTALL diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 61c379b8b3..35f0276d6c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-02-24 11:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + + INSTALL + + Installation docs kept simple. + ; TODO: Add it to install packages. Test and extend as needed. + 2009-02-24 10:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * bin/postinst.bat + Added dos/windows (djgpp/mingw) autodetection. diff --git a/harbour/INSTALL b/harbour/INSTALL new file mode 100644 index 0000000000..dd7de445ef --- /dev/null +++ b/harbour/INSTALL @@ -0,0 +1,50 @@ +/* + * $Id$ + */ + +HOW TO BUILD AND INSTALL HARBOUR +================================ + +For all platforms you'll need: + +* GNU make +* Supported C compiler + +Linux/Darwin/BSD/HP-UX/Solaris +------------------------------ + $ export HB_COMPILER=<[gcc]|owatcom|icc|...> + $ export HB_INSTALL_PREFIX= + $ ./make_gnu.sh + $ sudo ./make_gnu.sh install + + To test it, go to /bin directory and type: + $ ./hbmk2 ../tests/hello.prg + $ ./hello + You should see: 'Hello world!' on screen. + +Windows +------- + Make sure to have your C compiler of choice properly + installed and GNU Make (with the name make.exe) + accessible in the PATH _before_ the compiler tools. + + > set HB_COMPILER=<[mingw]|msvc|bcc32|owatcom|...> + > set HB_INSTALL_PREFIX= + > make_gnu.bat install + + To test it, go to \bin directory and type: + > hbmk2 ..\tests\hello.prg + > hello + You should see: 'Hello world!' on screen. + +DOS +--- + > set HB_COMPILER=<[djgpp]|owatcom> + > set HB_INSTALL_PREFIX= + > make_gnu.bat install + +OS/2 +---- + > set HB_COMPILER=<[gcc]|owatcom|icc> + > set HB_INSTALL_PREFIX= + > make_gnu_os2.cmd install