Date: Tue, 2 Mar 1999 10:00:07 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: alpha@freebsd.org Cc: "David O'Brien" <obrien@nuxi.com> Subject: egcs port for alpha (fwd) Message-ID: <Pine.BSF.4.05.9903020956410.83849-200000@herring.nlsystems.com>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ----Next_Part(Fri_Jan_29_15:10:31_1999_809)-- Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: <Pine.BSF.4.05.9903020956412.83849@herring.nlsystems.com> Shimokawa-san made this port of egcs for FreeBSD/alpha a while ago. Perhaps the people who are interested in a modern C++ compiler on FreeBSD/alpha could test it? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 ---------- Forwarded message ---------- Date: Fri, 29 Jan 1999 15:12:01 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: freebsd-alpha@freebsd.org Subject: egcs port for alpha I made a patch for egcs port in our tree. I successfully compiled xemacs and kernel (with some tweaks) with this egcs and I'm running the kernel. The most important part is in: http://www.freebsd.org/~simokawa/egcs-freebsd-alpha-supplement.tar.bz2 I don't know much about configuration of egcs. I appreciate if some experts check the files in the archive. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp ----Next_Part(Fri_Jan_29_15:10:31_1999_809)-- Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-ID: <Pine.BSF.4.05.9903020956413.83849@herring.nlsystems.com> Content-Description: Content-Disposition: ATTACHMENT; FILENAME="egcs.diff" Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/egcs/Makefile,v retrieving revision 1.42 diff -u -u -r1.42 Makefile --- Makefile 1998/12/26 20:10:02 1.42 +++ Makefile 1999/01/29 06:01:45 @@ -13,8 +13,12 @@ ftp://ftp.funet.fi/mirrors/ftp.cygnus.com/pub/egcs/releases/egcs-1.1.1/ \ ftp://egcs.cygnus.com/pub/egcs/releases/egcs-1.1.1/ \ ftp://ftp.fu-berlin.de/unix/languages/egcs/releases/egcs-1.1.1/ \ - ftp://cambridge.cygnus.com/pub/egcs/releases/egcs-1.1.1/ -EXTRACT_SUFX= .tar.bz2 + ftp://cambridge.cygnus.com/pub/egcs/releases/egcs-1.1.1/ \ + http://www.freebsd.org/~simokawa/ +DISTFILES= egcs-1.1.1.tar.bz2 +.if ${MACHINE_ARCH} == "alpha" +DISTFILES+= egcs-freebsd-alpha-supplement.tar.bz2 +.endif MAINTAINER= obrien@FreeBSD.org @@ -29,7 +33,9 @@ LIBSTDCPP_REV= 2.9.0 .if ${PORTOBJFORMAT} == "elf" +.if ${MACHINE_ARCH} == "i386" PLIST= ${WRKDIR}/PLIST +.endif #GNUHOST= ${ARCH}-unknown-freebsdelf${OSREL} GNUHOST= ${ARCH}-unknown-freebsdelf .else @@ -52,7 +58,7 @@ ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h ; \ ${MV} freebsd-elf.h freebsd-elf.h.in ; \ ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h) -.if ${PORTOBJFORMAT} == "elf" +.if ${MACHINE_ARCH} == "i386" && ${PORTOBJFORMAT} == "elf" @${SED} -e 's/^@comment ELF-only://' ${PKGDIR}/PLIST >${PLIST} .endif Index: files/md5 =================================================================== RCS file: /home/ncvs/ports/lang/egcs/files/md5,v retrieving revision 1.20 diff -u -u -r1.20 md5 --- md5 1998/12/05 04:00:40 1.20 +++ md5 1999/01/29 06:01:45 @@ -1 +1,2 @@ MD5 (egcs-1.1.1.tar.bz2) = 854ed488f030075e4a4ac1fbedcb27fb +MD5 (egcs-freebsd-alpha-supplement.tar.bz2) = e414a20f36554d084988e603b3b5725d Index: patches/patch-ak =================================================================== RCS file: /home/ncvs/ports/lang/egcs/patches/patch-ak,v retrieving revision 1.1 diff -u -u -r1.1 patch-ak --- patch-ak 1998/12/25 19:42:01 1.1 +++ patch-ak 1999/01/29 06:01:45 @@ -1,6 +1,22 @@ ---- gcc/configure.orig Wed Dec 2 11:22:52 1998 -+++ gcc/configure Fri Dec 25 00:35:40 1998 -@@ -2752,6 +2752,7 @@ +--- gcc/configure.orig Thu Dec 3 04:22:52 1998 ++++ gcc/configure Sat Jan 16 15:57:44 1999 +@@ -2303,6 +2303,15 @@ + thread_file='posix' + fi + ;; ++ alpha*-*-freebsd*) ++ tm_file="${tm_file} freebsd.h alpha/freebsd.h alpha/freebsd-elf.h" ++ xm_file="${xm_file} xm-freebsd.h" ++ target_cpu_default="MASK_GAS" ++ tmake_file="t-freebsd alpha/t-crtbe" ++ xmake_file=none ++ fixincludes=fixinc.wrap ++ gas=yes gnu_ld=yes ++ ;; + alpha*-*-netbsd*) + tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h" + xm_file="xm-netbsd.h ${xm_file}" +@@ -2752,6 +2761,7 @@ tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h" # On FreeBSD, the headers are already ok, except for math.h. fixincludes=fixinc.wrap ----Next_Part(Fri_Jan_29_15:10:31_1999_809)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903020956410.83849-200000>