From owner-freebsd-current Thu May 18 20:25:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [209.224.254.131]) by hub.freebsd.org (Postfix) with ESMTP id 1B32A37BBC2 for ; Thu, 18 May 2000 20:25:23 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [209.224.254.141]) by mail.westbend.net (8.9.3/8.9.3) with SMTP id WAA60543 for ; Thu, 18 May 2000 22:25:21 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <00d801bfc141$dd4e6280$8dfee0d1@westbend.net> From: "Scot W. Hetzel" To: References: <200005180749.AAA01369@rah.star-gate.com> Subject: Re: New 64 bit Compiler from SGI Date: Thu, 18 May 2000 22:25:21 -0500 Organization: West Bend Internet MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Amancio Hasty" > For those interested , SGI has released their 64 bit > compiler for Intel's Itanium. > > http://oss.sgi.com/projects/Pro64/ > That great, now when does FreeBSD64 come out ;-) Is FreeBSD 64-bit clean as referred to in the below question from the SGI FAQ ( http://oss.sgi.com/projects/Pro64/faq.html )? Q. I have a C program that runs correctly on Linux/IA-32. When I compile it and run it in the NUE environment, I do not get correct answers. Any ideas? A. Is your program 64-bit clean? The Linux/IA-32 programming model uses an ILP32 model. That means that sizeof(int)==sizeof(long)==sizeof(void *) == 32 bits. The Linux/IA-64 programming model used a LP64 model. That means that sizeof(int)==32 bits and sizeof(long)==sizeof(void *)==64 bits. If your program violates the LP64 model you will have problems. This is why the version of gcc in SPEC95 will not work (nor will it ever without modification). Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message