Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 92221 invoked from network); 19 Oct 2005 22:43:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2005 22:43:11 -0000 Received: (qmail 22244 invoked by uid 500); 19 Oct 2005 22:43:08 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 21924 invoked by uid 500); 19 Oct 2005 22:43:07 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 21912 invoked by uid 99); 19 Oct 2005 22:43:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 15:43:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of kumpera@gmail.com designates 66.249.82.198 as permitted sender) Received: from [66.249.82.198] (HELO xproxy.gmail.com) (66.249.82.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 15:43:05 -0700 Received: by xproxy.gmail.com with SMTP id s13so143043wxc for ; Wed, 19 Oct 2005 15:42:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HmDqntow1mS0Kvp21roSzbb7h/WDTm9YHeW3JbXUmPB9bC6fXR8i2H4xiRu91jlQg/s0iqSTTO8dE2Ujfw2dRFYF0ykrvJOPxz9YSxWU0gb0BJSrCntwacHNyy6Wo4FQqXBWURUsaAMh3qKA1+N2YfNOim9jPWmTzi2IIrX3LwE= Received: by 10.70.91.7 with SMTP id o7mr288639wxb; Wed, 19 Oct 2005 15:42:44 -0700 (PDT) Received: by 10.70.73.10 with HTTP; Wed, 19 Oct 2005 15:42:44 -0700 (PDT) Message-ID: <8cca42d80510191542o2212e0eehe3461e4ec789060e@mail.gmail.com> Date: Wed, 19 Oct 2005 20:42:44 -0200 From: Rodrigo Kumpera To: harmony-dev Subject: Small problems building under cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've found a small issue while building under cygwin. I'm using j2sdk 1.4 and gcc 3.4.4 (cygwin). The problems are when building the jni stuff. First it included on gcc find patch "j2sdk\include\cygwin", but it should be "j2sdk\include\win32". Second is when building the included file "jni_md.h" breaks everything as it defines jlong as "__int64" and not "long long". Fixing both is pretty easy, either edit config/config_opts_always.gcc or rename the directory from win32 to cygwin. The second you can either edit jni_md.h and change "__int64" to "long long" or include a define directive, or something like this, in config/config_opts_always.gcc. I'm not sure what would be the best way to fix this on build.sh, as the first issue is related to build enviroment and the second about incompatible compilers ("__int64" works on MSVC and ICC but not gcc) []s Rodrigo