Artifact 3cdf4bc8d5ceefcf96c67899109346e0ef262d38:
- Executable file build/build_win32.sh — part of check-in [0febd33a2d] at 2004-12-25 19:45:14 on branch trunk — Updated Mac OS X support (7.7.0 with gcc 3.3 now works) Added a --enable-small that disables a few options to make a smaller library. Updated win32 build to make an i386 object explicitly (this may have been the default) libconfig 0.1.15 (user: rkeene, size: 449) [annotate] [blame] [check-ins using]
#! /bin/sh if [ ! -x configure ]; then cd ../; fi WIN32="${HOME}/root/windows-i386" CFLAGS="-I${WIN32}/include -march=i386" CPPFLAGS="${CFLAGS}" LDFLAGS="-L${WIN32}/lib" DATE="`date +%Y%m%d%H%M`" CROSS=i586-mingw32msvc if [ ! -z "${CROSS}" ]; then CROSSCMD="${CROSS}-" fi export CFLAGS LDFLAGS CPPFLAGS make distclean ./configure --host=${CROSS} --prefix=${HOME}/root/windows-i386/ --with-libopennet=${HOME}/root/windows-i386/ && \ make || exit 1