Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 17:14:40 -0700
From:      Warner Losh <imp@village.org>
To:        John Birrell <jb@freebsd1.cimlogic.com.au>
Cc:        alpha@FreeBSD.ORG, Peter Wemm <peter@netplex.com.au>, John Polstra <jdp@FreeBSD.ORG>
Subject:   Re: Bootstrapping FreeBSD/Alpha 
Message-ID:  <199801130014.RAA07392@harmony.village.org>
In-Reply-To: Your message of "Tue, 13 Jan 1998 09:20:25 %2B1100." <199801122220.JAA03370@freebsd1.cimlogic.com.au> 
References:  <199801122220.JAA03370@freebsd1.cimlogic.com.au>  

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801130014.RAA07392>