2009-09-19 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
+ Added new section: HOW TO CREATE DISTRIBUTABLE PACKAGES
* bin/postinst.sh
% Deleted -KPIC from dynlib command with sunpro.
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-09-19 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* INSTALL
|
||||
+ Added new section: HOW TO CREATE DISTRIBUTABLE PACKAGES
|
||||
|
||||
* bin/postinst.sh
|
||||
% Deleted -KPIC from dynlib command with sunpro.
|
||||
|
||||
2009-09-19 21:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* bin/postinst.sh
|
||||
* config/global.mk
|
||||
|
||||
@@ -182,6 +182,56 @@ HOW TO DO A PARTIAL [RE]BUILD
|
||||
<make> [clean] [install]
|
||||
|
||||
|
||||
HOW TO CREATE DISTRIBUTABLE PACKAGES
|
||||
====================================
|
||||
|
||||
Source .tgz on *nixes
|
||||
---------------------
|
||||
|
||||
$ ./mpkg_src.sh
|
||||
|
||||
Binary .tgz on *nixes
|
||||
---------------------
|
||||
|
||||
$ ./mpkg_tgz.sh
|
||||
|
||||
Binary .deb on Linux
|
||||
--------------------
|
||||
|
||||
$ fakeroot debian/rules
|
||||
|
||||
.rpm on Linux
|
||||
-------------
|
||||
|
||||
for native build:
|
||||
$ ./mpkg_rpm.sh
|
||||
for Windows cross-build:
|
||||
$ ./mpkg_rpm_win.sh
|
||||
for Windows CE cross-build:
|
||||
$ ./mpkg_rpm_wce.sh
|
||||
|
||||
Binzary .zip + .exe on Windows for all targets (except Linux)
|
||||
-------------------------------------------------------------
|
||||
|
||||
> set HB_DIR_NSIS=%ProgramFiles%\NSIS\
|
||||
> set HB_DIR_ZIP=C:\info-zip\
|
||||
> set HB_BUILD_PKG=yes
|
||||
(then run build as usual, see: HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE)
|
||||
|
||||
Binary .zip on MS-DOS for all targets (except Linux)
|
||||
----------------------------------------------------
|
||||
|
||||
> set HB_DIR_ZIP=C:\info-zip\
|
||||
> set HB_BUILD_PKG=yes
|
||||
(then run build as usual, see: HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE)
|
||||
|
||||
Unified .7z + .exe installer for Windows
|
||||
----------------------------------------
|
||||
|
||||
[ To be completed. All required files and scripts reside in package/winuni.
|
||||
This is a semi-manual process yet. ]
|
||||
|
||||
|
||||
HOW TO ENABLE OPTIONAL COMPONENTS BEFORE BUILD
|
||||
==============================================
|
||||
|
||||
|
||||
@@ -76,12 +76,7 @@ then
|
||||
elif [ "$HB_COMPILER" = "sunpro" ]; then
|
||||
hb_mkdyn="${HB_BIN_INSTALL}/hb-mkdyn"
|
||||
rm -f "${hb_mkdyn}"
|
||||
if [ "$HB_PLATFORM" = "sunos" ] && \
|
||||
(isalist|grep sparc) &>/dev/null; then
|
||||
lnopt="-xcode=pic32"
|
||||
else
|
||||
lnopt="-KPIC"
|
||||
fi
|
||||
lnopt=""
|
||||
[ "$HB_BUILD_OPTIM" = "no" ] || lnopt="-fast -xnolibmopt $lnopt"
|
||||
sed -e "s/gcc -shared/suncc -G ${lnopt} ${HB_ISAOPT}/g" \
|
||||
"${hb_root}/bin/hb-mkdyn.sh" > "${hb_mkdyn}" && \
|
||||
|
||||
Reference in New Issue
Block a user