From owner-freebsd-sparc Sat Nov 28 04:08:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA07654 for freebsd-sparc-outgoing; Sat, 28 Nov 1998 04:08:25 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from sunsite.mff.cuni.cz (sunsite.ms.mff.cuni.cz [195.113.19.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA07644 for ; Sat, 28 Nov 1998 04:08:20 -0800 (PST) (envelope-from jj@sunsite.ms.mff.cuni.cz) Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.8.7/8.8.7) id MAA06491; Sat, 28 Nov 1998 12:27:39 +0100 From: Jakub Jelinek Message-Id: <199811281127.MAA06491@sunsite.mff.cuni.cz> Subject: Re: [Ultra] Compiler, again To: wes@softweyr.com (Wes Peters) Date: Sat, 28 Nov 1998 12:27:34 +0100 (CET) Cc: grog@lemis.com, paipai@tin.it, freebsd-sparc@FreeBSD.ORG In-Reply-To: <365FA073.BD5F78AF@softweyr.com> from "Wes Peters" at Nov 28, 98 00:04:19 am Content-Type: text Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Also, GCC code for 64-bit processors is better optimized when compiled > on a 64-bit system. IIRC, the 64-bit hosts use larger window sizes > for register scheduling and peephole optimization. (btw: the most visible difference is usually in constant formation and stuff like that). There is a nifty trick how to overcome this :)) -DHOST_WIDE_INT="unsigned long long" -DHOST_BITS_PER_WIDE_INT=64 and you won't see the difference. Anyway, I'd suggest you to work on the compiler first before you start working with it, as egcs-current is currently broken towards sparc64, egcs from some months ago might do the job for kernel only (and you won't be able to compile e.g. libc), egcs 1.1 nor 1.0 won't work for sparc64 at all, gcc 2.8* is even worse (but it is a dead project anyway), gcc 2.7* + patches might again, compile several things, but is completely incompatible with SPARCv9 ABI, which is a major drawback. So, if you really want to start with a port, I'd suggest a couple of your people go and help with the compiler, that will help all sparc64 ports... Cheers, Jakub ___________________________________________________________________ Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz Administrator of SunSITE Czech Republic, MFF, Charles University ___________________________________________________________________ UltraLinux hacker | http://ultra.linux.cz | UltraPenguin maintainer Linux version 2.1.129 on a sparc64 machine (3958.37 BogoMips) ___________________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message