From e896fa424c4e951964464e7a3a595abd94af00e0 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 4 Oct 2009 19:56:27 +0000 Subject: [PATCH] 2009-10-04 21:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added "Unibin" example for Mac OS X. + Added separate HOWTO section for Mac OS X listing XCode as prerequisite. ! Minor corrections in punctuation. * contrib/hbhpdf/hbhpdf.hbc ! Added png lib for *nix systems. Thanks Lorenzo. --- harbour/ChangeLog | 10 ++++++++++ harbour/INSTALL | 30 ++++++++++++++++++++++++++++-- harbour/contrib/hbhpdf/hbhpdf.hbc | 1 + 3 files changed, 39 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 055af89c3d..e56d8f76b6 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,16 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-10-04 21:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * INSTALL + + Added "Unibin" example for Mac OS X. + + Added separate HOWTO section for Mac OS X listing XCode as + prerequisite. + ! Minor corrections in punctuation. + + * contrib/hbhpdf/hbhpdf.hbc + ! Added png lib for *nix systems. Thanks Lorenzo. + 2009-10-04 14:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * MSVC/Itanium cleanups. diff --git a/harbour/INSTALL b/harbour/INSTALL index 0e2f8a2f92..96fcbe2e06 100644 --- a/harbour/INSTALL +++ b/harbour/INSTALL @@ -121,8 +121,22 @@ HARBOUR $ ./hello You should see 'Hello world!' on screen. - on Darwin/BSD/HP-UX/Solaris/BeOS/Haiku/*nix hosts - -------------------------------------- + on Darwin (Mac OS X) hosts + -------------------------- + (possible cross-build targets: Windows, Windows CE, MS-DOS) + + Platform specific prerequisite: XCode installed + + $ make install [HB_PLATFORM=<...>] + + To test it, type: + $ cd tests + $ hbmk2 hello.prg + $ ./hello + You should see 'Hello world!' on screen. + + on BSD/HP-UX/Solaris/BeOS/Haiku/*nix hosts + ------------------------------------------ (possible cross-build targets: Windows, Windows CE, MS-DOS) $ gmake install [HB_PLATFORM=<...>] @@ -866,11 +880,13 @@ HARBOUR --- GCC 3.3.4 and GCC 3.3.5 C:\usr\bin\gccenv.cmd os2-make + --- --- GCC 4.x C:\usr\local433\gcc440.cmd set HB_COMPILER=gccomf os2-make + --- --- Open Watcom C++ SET WATCOM=C:\watcom @@ -896,6 +912,16 @@ HARBOUR make "$@" --- + for Darwin (Mac OS X) hosts + --------------------------- + + --- To create "Universal" binaries, compatible with pre-Snow Leopard PowerPC and Intel systems + export HB_USER_LDFLAGS="-arch i386 -arch ppc" + export HB_USER_CFLAGS="$HB_USER_LDFLAGS" + export HB_COMPILER=gcc + make + --- + for *nix hosts in general ------------------------- diff --git a/harbour/contrib/hbhpdf/hbhpdf.hbc b/harbour/contrib/hbhpdf/hbhpdf.hbc index 7e2d9d525d..e2bc80d570 100644 --- a/harbour/contrib/hbhpdf/hbhpdf.hbc +++ b/harbour/contrib/hbhpdf/hbhpdf.hbc @@ -7,3 +7,4 @@ incpaths=. libs=hbhpdf libs=libhpdf {!unix}libs=libpng +{unix}libs=png