From owner-freebsd-alpha Mon Jan 12 16:16:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA24744 for alpha-outgoing; Mon, 12 Jan 1998 16:16:42 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id QAA24539; Mon, 12 Jan 1998 16:15:02 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xru04-0005Za-00; Mon, 12 Jan 1998 17:14:36 -0700 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.8/8.8.3) with ESMTP id RAA07392; Mon, 12 Jan 1998 17:14:40 -0700 (MST) Message-Id: <199801130014.RAA07392@harmony.village.org> To: John Birrell Subject: Re: Bootstrapping FreeBSD/Alpha Cc: alpha@FreeBSD.ORG, Peter Wemm , John Polstra In-reply-to: Your message of "Tue, 13 Jan 1998 09:20:25 +1100." <199801122220.JAA03370@freebsd1.cimlogic.com.au> References: <199801122220.JAA03370@freebsd1.cimlogic.com.au> Date: Mon, 12 Jan 1998 17:14:40 -0700 From: Warner Losh Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199801122220.JAA03370@freebsd1.cimlogic.com.au> John Birrell writes: : Would you mind submitting that as a patch to either Peter Wemm or John : Polstra and allow them to do the upgrade in the manner that they see : fit. I guess you've noticed that the binutils stuff will default to : COFF format if it doesn't recognise the operating system name. : Jordan has a NetBSD/Alpha system available for anybody (?) who : wants to work on this stuff. The patch is to gcc. I've included it here since it is really small. Your checkins did most of the magic. I just got configure working. I also had to chmod +x configure and move-if-changed as well, but that is a minor issue. There may also be a minor issue with libgcc1.a, but I don't think FreeBSD/alpha needs it.... I also grabbed NetBSD's toolchain tree today. I think I'll try to use that to build a cross assembler for the alpha, maybe hacking it for use with FreeBSD rather than NetBSD. This stuff is cool :-) Warner Index: configure =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/contrib/gcc/configure,v retrieving revision 1.2 diff -u -r1.2 configure --- configure 1996/09/18 06:50:23 1.2 +++ configure 1998/01/12 20:59:01 @@ -931,6 +931,17 @@ # Next line turned off because both 386BSD and BSD/386 use GNU ld. # use_collect2=yes ;; + alpha-*-freebsd*) + cpu_type=alpha + tm_file=alpha/freebsd-elf.h + xm_file=alpha/xm-freebsd.h + # On FreeBSD, the headers are already ok. + fixincludes=Makefile.in + xmake_file=alpha/x-freebsd + gas=yes + gnu_ld=yes + stabs=yes + ;; i[345]86-*-freebsdelf*) cpu_type=i386 tm_file=i386/freebsd-elf.h