linux-gnu to mingw32 cross
Ranjit Mathew
rmathew@hotmail.com
Thu Nov 28 04:33:00 GMT 2002
Tom Tromey wrote:
> Also, in general it helps to use the trunk sources. There has been a
> lot of work on java.net lately, thanks to Michael Koch. Ranjit, what
> are you using?
I try out all my experiments with GCC 3.2, as the trunk is a
moving target. I use the GCC 3.2 sources slightly patched
for MinGW as found on http://sourceforge.net/projects/mingw/
and use the following configuration command while building
cross-gcc (with gcj/libgcj):
----------------------------- 8< -------------------------------
$GCC_SRC_DIR/configure --prefix=$PREFIX \
--target=$TARGET --host=$HOST --build=$BUILD \
--enable-languages=c,c++,java \
--disable-nls --disable-debug --enable-threads=win32 \
--with-gcc --with-gnu-as --with-gnu-ld \
--with-headers=$PREFIX/$TARGET/include --without-newlib \
--disable-win32-registry --disable-multilib --disable-shared \
--enable-libgcj --disable-java-awt --without-x \
--enable-java-gc=boehm --disable-libgcj-debug \
--enable-interpreter --enable-hash-synchronization
----------------------------- 8< -------------------------------
(Some of it is over-specification and --enable-hash-synchronization
has no effect without Adam's recent patch to enable it for MinGW.)
If you use "mingw32" as the target instead of "i386-pc-mingw32"
or "i686-pc-mingw32", you should take a look at the following
message:
http://www.geocrawler.com/archives/3/6013/2002/9/150/9698238/
(It matters as "mingw32" is the "official" MinGW target name.)
Lastly, I use the "mingw-runtime-2.2" and "w32api-2.0"
packages from the MinGW SF repository.
Sincerely Yours,
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/
More information about the Java
mailing list