From owner-freebsd-java Thu Nov 14 16:36:26 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98AAF37B401 for ; Thu, 14 Nov 2002 16:36:25 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E50C43E77 for ; Thu, 14 Nov 2002 16:36:25 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18CUT7-0000sb-00; Thu, 14 Nov 2002 16:36:21 -0800 Date: Thu, 14 Nov 2002 16:36:21 -0800 To: "Georg-W. Koltermann" Cc: freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: Trying to compile HotSpot on 4.7-STABLE Message-ID: <20021115003621.GA3359@gnuppy.monkey.org> References: <1037283323.18267.30.camel@hunter.muc.macsch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1037283323.18267.30.camel@hunter.muc.macsch.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Nov 14, 2002 at 03:15:21PM +0100, Georg-W. Koltermann wrote: > #ifdef LINUX //-billh > const int64_t min_jlong = 0x8000000000000000LL; > const int64_t max_jlong = 0x7fffffffffffffffLL; > #else > const jlong min_jlong = 0x8000000000000000L; > const jlong max_jlong = 0x7fffffffffffffffL; > #endif Hmm, that's kind of wierd. Do what ever you need to do so that it'll sensibly compile. > I can of course copy the 'LL' notation to the non-LINUX case to make it > compile, but I'm getting a little nervous that something goes wrong > here. The #ifdef is marked by Bill Huey and I assume he #ifdef'ed the > lines carefully, the way they should be. > > Should I #define LINUX ? Would this be solved if I use GCC31? Well, you shouldn't. You should be using gcc 3.2 for your compiler. I'm not sure if the port is still broken or not, but 3.1 will do too. We collectively need to propagate a newer set of patches to the public and I wish this was automatic so that folks aren't completely out of sync with our CVS. I'm about to do some major reworking here in 1.3.1, so it'll push that need even more. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message