See ChangeLog entry 2001-12-05 16:00 UTC-0500 David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
2001-12-05 21:04:28 +00:00
parent 4f13422796
commit db10fd6995
3 changed files with 64 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2001-12-05 16:00 UTC-0500 David G. Holm <dholm@jsd-llc.com>
* doc/gmake.txt
+ doc/howtobsd.txt
+ FreeBSD 4.4 port
2001-12-05 15:30 UTC-0500 David G. Holm <dholm@jsd-llc.com>
+ config/bsd
@@ -10,7 +16,6 @@
* source/rtl/gtstd/gtstd.c
+ FreeBSD 4.4 port
2001-12-05 19:44 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* include/hbmath.h
@@ -2644,6 +2649,7 @@
*Now Setbuild() return the command line to gcc(Linux and Os/2) insted of an response file
* source/pp/pragma.c
* contrib/dot/pp_harb.ch
* tests/inline_c.prg

View File

@@ -164,6 +164,22 @@ For MSVC on Win95/WinNT:
HB_COMPILER msvc
HB_GT_LIB gtwin
For GCC on BSD:
HB_ARCHITECTURE bsd
HB_COMPILER gcc
HB_GT_LIB gtstd
Notes:
1) You have to have bison and gmake installed in order to build
Harbour for BSD. The file doc/howtobsd.txt gives an overview
of what is required.
2) If you have an ncurses library or a slang library, you may
want to try one of the following two values for HB_GT_LIB:
gtcrs
gtsln
In which case you'll also need to export HB_SCREEN_LIB with
the name of the appropriate screen library, if it doesn't
match the default value in config/bsd/gcc.cf
For GCC on Linux:
HB_ARCHITECTURE linux
HB_COMPILER gcc
@@ -173,7 +189,8 @@ For GCC on Linux:
gtcrs
gtsln
In which case you'll also need to export HB_SCREEN_LIB with
the name of the appropriate screen library.
the name of the appropriate screen library, if it doesn't
match the default value in config/linux/gcc.cf.
For GCC on OS/2 for VIO mode:
Note: You must point C_INCLUDE_PATH to the EMX include directory and
@@ -271,3 +288,5 @@ can also be used for modules that aren't in the Makefile. You can also
pass parameters to the program. For example, 'build readfile harbour.ini'
will rebuild the readfile.prg program and run it with 'harbour.ini' as a
command line parameter.

37
harbour/doc/howtobsd.txt Normal file
View File

@@ -0,0 +1,37 @@
/*
* $Id$
*/
HOW TO CONFIGURE BSD TO BUILD HARBOUR
-------------------------------------
First, you'll need a FreeBSD 4.4 developer installation. Then you'll need
to install bison and gmake. If you installed the ports collection, then all
you need to do to install bison and gmake is to run the following commands,
which may require that you run su first to get the correct permissions.
cd /usr/ports/devel/bison
make
make install
make clean
cd /usr/ports/devel/gmake
make
make install
make clean
If you want to use the GTSLN library instead of GTSTD or GTCRS, then you
also need to install libslang. If you installed the ports collection, then
all you need to do to install libslang is to run the following commands,
which may require that you run su first to get the correct permissions.
cd /usr/ports/devel/libslang
make
make install
make clean
Then read the doc/gmake.txt file for generic GNU make instructions and the
specific Harbour settings needed for BSD. When you want to build Harbour,
be sure to run 'gmake -r' at the command line instead of 'make -r'.
David G. Holm <dholm@jsd-llc.com>