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.
This commit is contained in:
Viktor Szakats
2009-02-25 10:26:25 +00:00
parent 3c98593da9
commit 28809220ea
2 changed files with 55 additions and 0 deletions

View File

@@ -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.

50
harbour/INSTALL Normal file
View File

@@ -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=<DIR>
$ ./make_gnu.sh
$ sudo ./make_gnu.sh install
To test it, go to <DIR>/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=<DIR>
> make_gnu.bat install
To test it, go to <DIR>\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=<DIR>
> make_gnu.bat install
OS/2
----
> set HB_COMPILER=<[gcc]|owatcom|icc>
> set HB_INSTALL_PREFIX=<DIR>
> make_gnu_os2.cmd install