You are not logged in.
Pages: 1
Mingw32 www.mingw.org
Offline
MinGW = Minimalistic GNU for Windows
GNU = GNU 's Not Unix
it's not Unix, but GNU/Linux, GNU-Darwin, some GNU/*BSDs, GNU/Hurd
you might know
gcc, gdb, glibc.
let's just say that gcc and gdb is for GNU/Linux [and ArchLinux] what MinGW is for Windows
so after this in-depth (:P) analysis, why do you need mingw in AL??
If you want to start an ArchWindows Distro, then things change..
anyways, welcome to the board and to ArchLinux!!
Offline
well the thing was i wanted to compile reactos under archlinux www.reactos.org!
but iam sry :oops:
Offline
Actually, there IS a reason why one would want MinGW on Linux : to cross-compile. I beleive, quite a bit of development with MinGW is done via cross-compiling.
Offline
Hello
I started the editing of the two (for now, 4 for later on) PKGBUILD to install mingw.
I did an error in it even if I followed a great number of howto. If you are still interested in it, just help me finding the bug. Maybe it will compile on your computer.
-- binutils
pkgname=mingw-binutils
pkgver=2.15.91
pkgrel=1
pkgdesc="Binutils for mingw"
url=""
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sf.net/mingw/mingw-runtime-3.5-src.tar.gz
http://dl.sf.net/mingw/w32api-3.1-src.tar.gz
http://dl.sf.net/mingw/binutils-$pkgver-20040904-1-src.tar.gz)
md5sums=('cfa1e37c0e6e3243f82044687c859caa'
'3a23cb1f26f22e1307f0605b72983ae5'
'fdded3fc2bc0503311b303c349006339'
)
build() {
cd $startdir/src/
mkdir binutils-$pkgver-20040904-1/i386-mingw32
cp -R mingw-runtime-3.5/* binutils-2.15.91-20040904-1/i386-mingw32/
cp -R w32api-3.1/* binutils-2.15.91-20040904-1/i386-mingw32/
cd binutils-$pkgver-20040904-1
./configure --prefix=/usr --target=i386-mingw32
make configure-host
make LDFLAGS="-all-static"
make || return 1
make prefix=$startdir/pkg/usr install
cp -R i386-mingw32/ $startdir/pkg/usr
cd $startdir/pkg/usr
rm -rf lib man share
}
-- mingw
pkgname=mingw
pkgver=3.5
pkgrel=1
pkgdesc="Compile win32 apps through cross-compiling with Linux"
url=""
license=""
depends=(mingw-binutils)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://dl.sf.net/mingw/gcc-core-3.4.2-20040916-1-src.tar.gz
http://dl.sf.net/mingw/gcc-g++-3.4.2-20040916-1-src.tar.gz
http://dl.sf.net/mingw/gcc-testsuite-3.4.2-20040916-1-src.tar.gz
)
md5sums=('67b358c5cc32f56f2736a5247ffb0846'
'507bf16dfdd5a5dcac760e29c73731ad'
'5d9a7491a40617244c3c5f61dfc2ee57'
)
build() {
cd $startdir/src/gcc-3.4.2-20040916-1/
# This is a test to find a way to correct the error, it shouldn't be there
cp -R /usr/i386-mingw32 .
################
./configure --enable-languages=c,c++ --prefix=/usr --target=i386-mingw32 --disable-nls --disable-shared --enable-threads --with-gcc --with-gnu-as --with-gnu-ld --with-stabs--disable-multilib --disable-win32-registry -v 2>&1 | tee gcc_configure.log
make BOOT_LDFLAGS="-static"
make prefix=$startdir/pkg/usr install
}
This is only for developping windows application on a linux platform
Offline
Pages: 1