This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xmingw 3.3.2


Hi Erik,

>I remember that Mohan had to apply all kinds of patches to make the cross-compiler
>(host=linux, target=mingw32) work.

>Are these patches still needed for 3.3.2? Does anybody know from what version the
>vanilla sources (without patching) will work out of the box?

These patches are still needed for 3.3.2. You can build an unpatched, sort-of-working
3.4 straight from CVS, but there will probably always be MinGW-local patches that will
make the build better. Danny Smith typically creates a patchset after the official
GCC release.

For 3.3.x, you can go here:

http://www.mingw.org/download.shtml


... and get gcc-3.3.3-20040217-1-src.diff.gz (or a variant for 3.3.1). These can
probably be used to build a cross compiler as well.

>Does anybody still have the patches, fixes, and scripts needed for 3.3.2 and the
>minimum versions required for binutils and w32api?

I still use these versions to build, but these are probably out-of-date:

export BUSRC_TAR_GZ=binutils-2.14.90-20030612-1-src.tar.gz
export BU_TAR_GZ=binutils-2.14.90-20030612-1.tar.gz
export BU_SRC_DIR=$BUILD_ROOT_DIR/binutils-2.14.90-20030612-1
export W32API_TAR_GZ=w32api-2.4.tar.gz
export MINGWRT_TAR_GZ=mingw-runtime-3.2.tar.gz
export LIBUNICOWS_ZIP=libunicows-0.6.3-mingw32.zip
export CROSSGCC_DIR=/usr/local/i686-pc-mingw32-gcc

For scripts, you can get the source distribution of my build at:

http://www.thisiscool.com/gcc_mingw.htm

...and look in the script/build directory. You might have to extrapolate backwards
for 3.3.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]