gcj patches for cygwin gcc-3.1
Billinghurst, David (CRTS)
David.Billinghurst@riotinto.com
Sun Jun 9 16:58:00 GMT 2002
There is more work in store before it really works. All I have done
is get rid of a few compile time errors and patch the testsuite. There
are bugs in the libjava libraries.
None of these patches are in the main 3.1 branch. All but the
configure.host patch, which is required to build with unmodified
binutils, are in the 3.2 branch.
At present I bootstrap with a gcc/ada version of gcc-3.1 using the
following options. Note that
- ARFLAGS=crP is required to build libjava
- you can't make gnatlib_and_tools without an ada bootstrap compiler
You need dejagnu-1.4.2 to run the g++ tests. Even with that, "make check"
will die a horrible death in libjava without a very nasty hack to
/usr/share/dejagnu/remote.exp (below) to work around another problem -
possibly a cygwin bug - that I haven't followed up.
########## gcc build and test script #########
#!/bin/sh
export CYGWIN=check_case:strict
export PATH=/usr/local/gcc-3_1/bin:/usr/bin
/usr/local/src/gcc-3.1c/configure \
--prefix=/usr/local/gcc-3_1 \
--enable-threads=posix \
--enable-libgcj \
--enable-sjlj-exceptions \
--with-system-zlib \
--disable-nls \
--enable-version-specific-runtime-libs \
--without-included-gettext \
--disable-shared > configure.log 2>&1
make AR_FLAGS=crP bootstrap-lean > build.log 2>&1 || exit
(cd gcc; make gnatlib_and_tools >> ../build.log 2>&1 )
make -k check > check.log 2>&1
make warning.log
/usr/local/src/gcc-3.1c/contrib/test_summary -t -i warning.log > summary.txt
-----Original Message-----
From: Nicholas Wourms [mailto:nwourms@netscape.net]
Sent: Monday, 10 June 2002 5:07
To: Billinghurst, David (CRTS)
Subject: Re: gcj patches for cygwin gcc-3.1
David,
Thanks for your hard work! I truly hope this will lead to the day when
I can finally drop that crappy JDK with its !@#$ing windows path
conventions. I think it is a bigger PITA then anything else.
Cheers,
Nicholas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remote.exp.diff
Type: application/octet-stream
Size: 1068 bytes
Desc: remote.exp.diff
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20020609/f6ac096e/attachment.obj>
More information about the Cygwin-apps
mailing list