Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Subject: RE: gcj patches for cygwin gcc-3.1 Date: Mon, 10 Jun 2002 09:47:18 +1000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C2100F.FD882E9E" Message-ID: content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 X-MS-Has-Attach: yes X-MS-TNEF-Correlator: From: "Billinghurst, David (CRTS)" To: "Nicholas Wourms" Cc: X-OriginalArrivalTime: 09 Jun 2002 23:48:31.0554 (UTC) FILETIME=[2923FA20:01C21010] Note-from-DJ: This may be spam This is a multi-part message in MIME format. ------_=_NextPart_001_01C2100F.FD882E9E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=20 are bugs in the libjava libraries.=20 None of these patches are in the main 3.1 branch. All but the=20 configure.host patch, which is required to build with unmodified binutils, are in the 3.2 branch. =20 At present I bootstrap with a gcc/ada version of gcc-3.1 using the following options. Note that=20 - ARFLAGS=3DcrP 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"=20 will die a horrible death in libjava without a very nasty hack to /usr/share/dejagnu/remote.exp (below) to work around another problem -=20 possibly a cygwin bug - that I haven't followed up. ########## gcc build and test script ######### #!/bin/sh export CYGWIN=3Dcheck_case:strict export PATH=3D/usr/local/gcc-3_1/bin:/usr/bin /usr/local/src/gcc-3.1c/configure \ --prefix=3D/usr/local/gcc-3_1 \ --enable-threads=3Dposix \ --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=3DcrP 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 AT netscape DOT net] Sent: Monday, 10 June 2002 5:07=20 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=20 I can finally drop that crappy JDK with its !@#$ing windows path=20 conventions. I think it is a bigger PITA then anything else. Cheers, Nicholas ------_=_NextPart_001_01C2100F.FD882E9E Content-Type: application/octet-stream; name="remote.exp.diff" Content-Transfer-Encoding: base64 Content-Description: remote.exp.diff Content-Disposition: attachment; filename="remote.exp.diff" LS0tIHJlbW90ZS5leHAub3JpZwkyMDAyLTAzLTE5IDEwOjUxOjQ4LjAwMDAwMDAwMCArMTEwMAor KysgcmVtb3RlLmV4cAkyMDAyLTA1LTA5IDIxOjM1OjI0LjAwMDAwMDAwMCArMTAwMApAQCAtMTc5 LDcgKzE3OSw3IEBACiAgICAgIyBjb21tYW5kIGluIG9yZGVyIHRvIGV4ZWN1dGUgdGhlIGV4ZWN1 dGlvbi4gKEVuZ2xpc2guIEdvdHRhIGxvdmUgaXQuKQogICAgIGlmIHsgISAkZ290X2VvZiB9IHsK IAl2ZXJib3NlICJraWxsaW5nICRwaWQgJHBnaWQiOwotCWV4ZWMgc2ggLWMgImV4ZWMgPiAvZGV2 L251bGwgMj4mMSAmJiAoa2lsbCAtMiAkcGdpZCB8fCBraWxsIC0yICRwaWQpICYmIHNsZWVwIDUg JiYgKGtpbGwgLTE1ICRwZ2lkIHx8IGtpbGwgJHBpZCkgJiYgc2xlZXAgNSAmJiAoa2lsbCAtOSAk cGdpZCB8fCBraWxsIC05ICRwaWQpIiAmOworCWV4ZWMga2lsbCAtOSAkcGlkOwogICAgIH0KICAg ICAjIFRoaXMgd2lsb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