Please help testing of new packaging for windows cross compilation
Please help me test the re-packaging of libiconv and gettext for
windows usage :
(note that these instructions apply to libiconv, but I am also
uploading the gettext as we speak, it should be done soon)
----------------------------------------------------------
Here are the release notes for compiling and using the libiconv for
win32 under debian
with the cross compiler.
-2 . I only recently discovered dpkg-cross, please forgive me.
The dpkg-cross might help resolve some of these issues.
-1 . First install the mingw32
sudo apt-get install mingw32
0. If this means anything to you, this is my ~/.dupload.conf file
package config;
$default_host = "introspector.sf.net";
$cfg{'introspector.sf.net'} = {
fqdn => "introspector.sf.net",
method => "scpb",
incoming => "/home/users/m/md/mdupont/www/debian/incoming/",
login => "mdupont",
dinstall_runs => 1,};
1;
1. download and install the debs from the above site
http://introspector.sf.net/debian/incoming
then you can install them on your debian box for usage,
the install into /usr/local/win32
dpkg -i libiconv-mingw1_1.8.20020902-1_i386.deb
dpkg -i libiconv-mingw-dev_1.8.20020902-1_i386.deb
2. For the next step, if you want to compile,
export the following vars (yes I am working on the site.config)
export CC=i586-mingw32msvc-gcc
export LD=i586-mingw32msvc-ld
export AR=i586-mingw32msvc-ar
export NM=i586-mingw32msvc-nm
export RANLIB=i586-mingw32msvc-ranlib
export DLLTOOL=i586-mingw32msvc-dlltool
export OBJDUMP=i586-mingw32msvc-objdump
export STRIP=i586-mingw32msvc-strip
export STRIPPROG=i586-mingw32msvc-strip
export AS=i586-mingw32msvc-as
export LC_ALL=C
export SED=sed
3. if you want to build the package
3.0 patch the /usr/bin/dpkg-architecture
add this line at the end of the architecture list:
'openbsd-i386', 'i386-openbsd',
'freebsd-i386', 'i386-freebsd',
'mingw32msvc-i586', 'i586-mingw32msvc',
3.1 download the source
http://introspector.sf.net/debian/incoming
get all the libiconv-* files
3.2 extract the source
sudo dpkg-source -x libiconv-mingw_1.8.20020902-1.dsc x
3.3 goto the directory created
cd libiconv-mingw_1.8.20020902
3.4 build the package
dpkg-buildpackage -rfakeroot
Please try this out and report errors, comments, suggestions back.
thanks,
mike
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
Reply to: