[Genabel-commits] r919 - pkg/ProbABEL/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jun 11 23:39:33 CEST 2012
Author: lckarssen
Date: 2012-06-11 23:39:33 +0200 (Mon, 11 Jun 2012)
New Revision: 919
Modified:
pkg/ProbABEL/doc/INSTALL
pkg/ProbABEL/doc/packaging.txt
Log:
Updates to ProbABELs packaging documentation
Modified: pkg/ProbABEL/doc/INSTALL
===================================================================
--- pkg/ProbABEL/doc/INSTALL 2012-06-11 20:51:30 UTC (rev 918)
+++ pkg/ProbABEL/doc/INSTALL 2012-06-11 21:39:33 UTC (rev 919)
@@ -70,11 +70,15 @@
First, install the necessary MINGW32 packages. On Debian/Ubuntu this
can be done in the following way:
apt-get install mingw32{-binutils,-runtime} gcc-mingw32
+ For 64 bit windows install these packages:
+apt-get install binutils-mingw-w64-i686 gcc-mingw-w64-base gcc-mingw-w64-i686 \
+ mingw-w64-dev g++-mingw-w64 binutils-mingw-w64-x86-64 g++-mingw-w64-i686 \
+ g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64
Now the binaries can be compiled (I've added a prefix so that when
running 'make install' the whole directory structure can be zipped
easily):
-./configure --host=i586-mingw32msvc --build=i686-linux-gnu \
+./configure --host=i686-w64-mingw32 --build=i686-linux-gnu \
--prefix=/tmp/PA --sysconfdir=/tmp/PA/ \
--datarootdir=/tmp/PA --docdir=/tmp/PA/doc
@@ -85,8 +89,9 @@
this example I was using a 32bit Ubuntu install. For a 64 bit linux
system this will be x86_64-linux-gnu. Note that the values for both
these options can be derived from the names of the compiler
- executables, e.g. the gcc-mingw32 Debian package installs the
- folowing C++ compiler: /usr/bin/i586-mingw32msvc-c++.
+ executables, e.g. the gcc-mingw-w64 Debian package installs the
+ folowing C++ compilers: /usr/bin/i686-w64-mingw32-c++ and
+ /usr/bin/x86_64-w64-mingw32-c++.
The --[somedir] options are used to make the directory structure as
flat as possible so that we don't bother Windows users with
subdirectories like 'share/' and 'etc/'.
Modified: pkg/ProbABEL/doc/packaging.txt
===================================================================
--- pkg/ProbABEL/doc/packaging.txt 2012-06-11 20:51:30 UTC (rev 918)
+++ pkg/ProbABEL/doc/packaging.txt 2012-06-11 21:39:33 UTC (rev 919)
@@ -13,7 +13,7 @@
in the automake files:
./configure
make distcheck
- If there are no errors, a tar.gz file of the source should be
+ If there are no errors, a tar.gz file of the source should have been
created. Let's create the package.
mkdir /tmp/PA-deb
cp ProbABEL-0.2.0.tar.gz /tmp/PA-deb
@@ -36,7 +36,8 @@
dh_make also creates several example scripts in the debian/
directory. We don't need them, so they can be delete:
rm debian/*.ex debian/*.EX
- Now the package can be built (NOTE that dpkg-buildpackage replaces our default CXXFLAGS with "-g -O2"):
+ Now the package can be built (NOTE that dpkg-buildpackage replaces
+ our default CXXFLAGS with "-g -O2"):
dpkg-buildpackage -rfakeroot -us -uc
This creates an unsigned ~.deb~ file in the parent directory. As a
final touch you can check you package for errors with
More information about the Genabel-commits
mailing list