Date: Sat, 28 Nov 1998 12:27:34 +0100 (CET) From: Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> To: wes@softweyr.com (Wes Peters) Cc: grog@lemis.com, paipai@tin.it, freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again Message-ID: <199811281127.MAA06491@sunsite.mff.cuni.cz> In-Reply-To: <365FA073.BD5F78AF@softweyr.com> from "Wes Peters" at Nov 28, 98 00:04:19 am
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811281127.MAA06491>