[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: powerpc dir



<199805301905.EAA17233@pppp.ap.so-net.or.jp>の記事において
1998年05月31日04時08分頃、kei_sun@ba2.so-net.ne.jpさんは書きました。

 > Kazuki> cross compilerなどのpackageを作った方が良いのかしら...

ちゅーことで、powerpcのcross compile環境のpackageです。
sharして最後に付けます。
# 長いですかね...

使い方は、

まず、crossppc-gasでmake,make install。

	gas+utils.tar.gzがdistfilesにないと、
	ftp://ftp.cygnus.com/private/gas/に取りに行きます。
	すでに持っている人は、/usr/pkgsrc/distfiles/gas+utils.tar.gzにlink
	はっておきましょう。3月以降のなら、多分平気。

次に、crossppc-egcsでmake, make install。

make TARGET_MACHINE=macppc ALLSRC=/usr/src TARGET_ROOT=/usr/pkg/root
make TARGET_MACHINE=macppc ALLSRC=/usr/src TARGET_ROOT=/usr/pkg/root install

	ALLSRC:		NetBSDのソースの場所
	TARGET_ROOT:	DISTDIR

	egcs-core-19980531.tar.gz,egcs-g++-19980531.tar.gz が必要。
	フルセット持っている人や日付が違う場合は、それなりに :-)
		ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-05-31/
	あと、powerpcのlibraryをftp.netbsd.orgに置いておきました。
		ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/tools/
	NetBSDのソース全部。/usr/src以下ね。

で、PATHを通せば、ppc-make スクリプトでpowerpc用のバイナリが作れると思います。


 > よろしければお願いします(__)。前にメイルした後開発用に借りて
 > きたss2のハードディスクが飛んでしまって(それも2つ;_;)、小さ
 > いのしかないんです。

あ、バイナリパッケージが良いですか?


 > それと、egcsになってからpowerpcをtargetにしたクロスコンパイ
 > ラが作れなくなっているような気がするんですが、皆さんのところ
 > ではうまくいっているんでしょうか?

targetのlibraryが要るようになったような気が。
前から要りましたっけ?

sakamoto@cec.co.jp

---cut here---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	crossppc-egcs
#	crossppc-egcs/Makefile
#	crossppc-egcs/files
#	crossppc-egcs/files/ppc-make
#	crossppc-egcs/patches
#	crossppc-egcs/patches/patch-aa
#	crossppc-egcs/pkg
#	crossppc-egcs/pkg/COMMENT
#	crossppc-egcs/pkg/DESCR
#	crossppc-egcs/pkg/PLIST
#	crossppc-egcs/Makefile.inc
#	crossppc-gas
#	crossppc-gas/files
#	crossppc-gas/patches
#	crossppc-gas/pkg
#	crossppc-gas/pkg/COMMENT
#	crossppc-gas/pkg/DESCR
#	crossppc-gas/pkg/PLIST
#	crossppc-gas/Makefile
#
echo c - crossppc-egcs
mkdir -p crossppc-egcs > /dev/null 2>&1
echo x - crossppc-egcs/Makefile
sed 's/^X//' >crossppc-egcs/Makefile << 'END-of-crossppc-egcs/Makefile'
X# $NetBSD: Makefile,v 1.5 1997/11/13 14:37:45 hubertf Exp $
X# New ports collection makefile for:	powerpc cross egcs
X# Version required:
X# Date created:
X# Whom:
X#
X
XEGCS_SNAP?=19980531
XEGCS_DIR?=1998-05-31
X
XDISTNAME=	egcs-${EGCS_SNAP}
XPKGNAME=	crossppc-egcs
XCATEGORIES=	devel
XMASTER_SITES=	ftp://egcs.cygnus.com/pub/egcs/snapshots/${EGCS_DIR}/ \
X		ftp://ftp.netbsd.org/pub/NetBSD/arch/bebox/tools/
XDISTFILES=	egcs-core-${EGCS_SNAP}${EXTRACT_SUFX} egcs-g++-${EGCS_SNAP}${EXTRACT_SUFX} ppclib${EXTRACT_SUFX}
X
X.include <${.CURDIR}/Makefile.inc>
X
XRUN_DEPENDS=	crossppc-gas:${PORTSDIR}/devel/crossppc-gas
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/objdir
X
XPATCH_ARGS=	-d ${WRKSRC}/.. --forward --quiet -E -p0
X
XGNU_CONFIGURE=	yes
XSCRIPTDIR=	${WRKSRC}/..
XCONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET} --with-gnu-as --with-gnu-ld
X
XUSE_GMAKE=	yes
XALL_TARGET=	cross
XINSTALL_TARGET=	install LANGUAGES="c c++"
X
XCROSS_MAKE_SCRIPT=ppc-make
X
Xpost-extract:
X	@${MKDIR} ${WRKSRC}
X	@(cd ${ALLSRC} && ${MAKE} DESTDIR=${TARGET_ROOT} beforeinstall)
X	@(cd ${ALLSRC}/share/mk && ${MAKE} DESTDIR=${TARGET_ROOT} install)
X	@(cd ${ALLSRC} && ${MAKE} DESTDIR=${TARGET_ROOT} MACHINE_ARCH=${TARGET_MACHINE_ARCH} MACHINE=${TARGET_MACHINE} includes)
X	@${RM} -rf ${PREFIX}/${TARGET}/include
X	@${MKDIR} ${PREFIX}/${TARGET}/include
X	@${LN} -s ${TARGET_ROOT}/usr/include/* ${PREFIX}/${TARGET}/include
X	@(cd ${WRKDIR} && uudecode ${FILESDIR}/ppclib.uu)
X	@${INSTALL_DATA} ${WRKDIR}/*.[oa] ${PREFIX}/${TARGET}/lib
X
Xdo-configure:
X	@(cd ${WRKSRC} && ${SCRIPTDIR}/configure ${CONFIGURE_ARGS})
X
Xpost-install:
X	@${ECHO} '#!/bin/sh' > ${WRKSRC}/${CROSS_MAKE_SCRIPT}
X	@${SED} -e 's/.*\"\([^ \"]*\)[ \"].*/version=\1/' < ${WRKDIR}/${DISTNAME}/gcc/version.c >> ${WRKSRC}/${CROSS_MAKE_SCRIPT}
X	@${CAT} ${FILESDIR}/ppc-make | ${SED} -e 's,_PREFIX_,${PREFIX},' -e 's,_ROOT_,${TARGET_ROOT},' -e 's/_TARGET_/${TARGET}/' -e 's/_MACHINE_/${TARGET_MACHINE}/' -e 's/_VERSION_/${TARGET_VERSION}/' >> ${WRKSRC}/${CROSS_MAKE_SCRIPT}
X	@${INSTALL_SCRIPT} ${WRKSRC}/${CROSS_MAKE_SCRIPT} ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-crossppc-egcs/Makefile
echo c - crossppc-egcs/files
mkdir -p crossppc-egcs/files > /dev/null 2>&1
echo x - crossppc-egcs/files/ppc-make
sed 's/^X//' >crossppc-egcs/files/ppc-make << 'END-of-crossppc-egcs/files/ppc-make'
Xroot=_PREFIX_
Xbsd_root=_ROOT_
Xtarget=_TARGET_
X
XPATH=\
X$PATH:\
X${root}/${target}/bin:\
X${root}/bin
Xexport PATH
X
XCC=${target}-gcc ;					export CC
XLD=${target}-ld ;					export LD
XCXX=${target}-g++ ;					export CXX
XAS=${target}-as ;					export AS
XCPP=${root}/lib/gcc-lib/${target}/${version}/cpp ;	export CPP
XRANLIB=${target}-ranlib ;				export RANLIB
XAR=${target}-ar ;					export AR
XNM=${root}/${target}/bin/nm ;				export NM
XSIZE=${target}-size ;					export SIZE
XSTRIP=${root}/bin/${target}-strip ;			export STRIP
X
XSTRIPFLAGS="--strip-debug" ;				export STRIPFLAGS
X
XHOSTED_CC=cc ;						export HOSTED_CC
X
XTARGET=powerpc ;					export TARGET
XMACHINE=_MACHINE_ ;					export MACHINE
XMACHINE_ARCH=powerpc ;					export MACHINE_ARCH
XNOPIC=nopic ;						export NOPIC
XNOTAGS=notags ; 					export NOTAGS
X
XDESTDIR=${bsd_root} ;					export DESTDIR
X
XMAKE="make -f ${bsd_root}/usr/share/mk/sys.mk -f Makefile"; export MAKE
XMAKEFLAGS="-I ${bsd_root}/usr/share/mk" ; export MAKEFLAGS
X
Xset -x
Xexec $MAKE "$@"
END-of-crossppc-egcs/files/ppc-make
echo c - crossppc-egcs/patches
mkdir -p crossppc-egcs/patches > /dev/null 2>&1
echo x - crossppc-egcs/patches/patch-aa
sed 's/^X//' >crossppc-egcs/patches/patch-aa << 'END-of-crossppc-egcs/patches/patch-aa'
X*** gcc/configure.orig	Tue Feb 24 15:59:37 1998
X--- gcc/configure	Tue Feb 24 15:28:15 1998
X***************
X*** 3988,3993 ****
X--- 3988,4000 ----
X  		fi
X  		xmake_file=rs6000/x-sysv4
X  		;;
X+ 	powerpc-*-netbsd*)
X+ 		tm_file=rs6000/netbsd.h
X+ 		xm_file=rs6000/xm-netbsd.h
X+ 		fixincludes=Makefile.in
X+ 		tmake_file=t-libc-ok
X+ 		xmake_file=x-netbsd
X+ 		;;
X  	powerpc-*-eabiaix*)
X  		tm_file=rs6000/eabiaix.h
X  		tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
X*** /dev/null	Tue Feb 24 15:49:12 1998
X--- gcc/config/rs6000/netbsd.h	Tue Feb 24 15:28:34 1998
X***************
X*** 0 ****
X--- 1,77 ----
X+ #include <rs6000/sysv4.h>
X+ 
X+ /* Get generic NetBSD definitions.  */
X+ 
X+ #include <netbsd.h>
X+ 
X+ #undef TARGET_VERSION
X+ #define TARGET_VERSION fprintf (stderr, " (PowerPC NetBSD)");
X+ 
X+ /* Use bcopy etc. instead of memcpy etc. */
X+ #undef	TARGET_MEM_FUNCTIONS
X+ 
X+ /* Names to predefine in the preprocessor for this target machine.  */
X+ #undef	CPP_PREDEFINES
X+ #define CPP_PREDEFINES "-D__powerpc__ -D__PPC__ -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(powerpc) -Amachine(powerpc)"
X+ 
X+ /* Make gcc agree with <machine/ansi.h> */
X+ 
X+ #undef SIZE_TYPE
X+ #define SIZE_TYPE "unsigned int"
X+ 
X+ #undef PTRDIFF_TYPE
X+ #define PTRDIFF_TYPE "int"
X+ 
X+ #undef WCHAR_TYPE
X+ #define WCHAR_TYPE "int"
X+ 
X+ #undef WCHAR_TYPE_SIZE
X+ #define WCHAR_TYPE_SIZE 32
X+ 
X+ /* Don't default to pcc-struct-return, because gcc is the only compiler, and
X+    we want to retain compatibility with older gcc versions.  */
X+ #define DEFAULT_PCC_STRUCT_RETURN 0
X+ 
X+ /* Until gcc uses fixed functions on procedure entry, -mmultiple is probably
X+    more efficient due to smaller code and less cache thrashing.  */
X+ #undef	CC1_SPEC
X+ #define	CC1_SPEC	"-mmultiple"
X+ 
X+ /* We want a implemetation reserved symbol for the entry point! */
X+ #undef	LINK_SPEC
X+ #define	LINK_SPEC	"%{!nostdlib:%{!r*:%{!e*:-e _start}}} -dc -dp %{static:-Bstatic} %{assert*}"
X+ 
X+ /* Provide a STARTFILE_SPEC appropriate for NetBSD.  Here we add
X+    the crtbegin.o file (see crtstuff.c) which provides part of the
X+    support for getting C++ file-scope static object constructed
X+    before entering `main'. */
X+    
X+ #undef	STARTFILE_SPEC
X+ #define STARTFILE_SPEC \
X+  "%{!shared: \
X+      %{pg:gcrt0.o%s} \
X+      %{!pg: \
X+ 	%{p:gcrt0.o%s} \
X+ 	%{!p:crt0.o%s}}} \
X+    %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
X+ 
X+ /* Provide a ENDFILE_SPEC appropriate for NetBSD.  Here we tack on
X+    the file which provides part of the support for getting C++
X+    file-scope static object deconstructed after exiting `main' */
X+ 
X+ #undef	ENDFILE_SPEC
X+ #define ENDFILE_SPEC \
X+   "%{!shared:crtend.o%s} %{shared:crtendS.o%s}"
X+ 
X+ #undef	FUNCTION_PROFILER
X+ #define FUNCTION_PROFILER(FILE, LABELNO) \
X+ {									\
X+ 	fprintf (FILE, "\tmflr %s\n", reg_names[0]);			\
X+ 	fprintf (FILE, "\tstw %s,4(%s)\n", reg_names[0], reg_names[1]);	\
X+ /* XXX PIC?? */								\
X+ 	fprintf (FILE, "\tbl _mcount\n");				\
X+ 	fprintf (FILE, "\tlwz %s,4(%s)\n", reg_names[0], reg_names[1]);	\
X+ 	fprintf (FILE, "\tmtlr %s\n", reg_names[0]);			\
X+ }
X+ 
X+ #undef ASM_FINAL_SPEC
X*** /dev/null	Tue Feb 24 15:49:12 1998
X--- gcc/config/rs6000/xm-netbsd.h	Tue Feb 24 15:28:34 1998
X***************
X*** 0 ****
X--- 1,9 ----
X+ /* Configuration for GCC for PowerPC running NetBSD as host.  */
X+ 
X+ #include <rs6000/xm-rs6000.h>
X+ 
X+ /* NetBSD isn't SysV */
X+ #undef	USG
X+ 
X+ /* Not needed on NetBSD (really?) */
X+ #undef	COLLECT_EXPORT_LIST
END-of-crossppc-egcs/patches/patch-aa
echo c - crossppc-egcs/pkg
mkdir -p crossppc-egcs/pkg > /dev/null 2>&1
echo x - crossppc-egcs/pkg/COMMENT
sed 's/^X//' >crossppc-egcs/pkg/COMMENT << 'END-of-crossppc-egcs/pkg/COMMENT'
Xcross-egcs for powerpc
END-of-crossppc-egcs/pkg/COMMENT
echo x - crossppc-egcs/pkg/DESCR
sed 's/^X//' >crossppc-egcs/pkg/DESCR << 'END-of-crossppc-egcs/pkg/DESCR'
Xcross-egcs for powerpc
END-of-crossppc-egcs/pkg/DESCR
echo x - crossppc-egcs/pkg/PLIST
sed 's/^X//' >crossppc-egcs/pkg/PLIST << 'END-of-crossppc-egcs/pkg/PLIST'
Xbin/c++filt
Xbin/powerpc-netbsd-c++
Xbin/powerpc-netbsd-g++
Xbin/powerpc-netbsd-gcc
Xbin/powerpc-netbsd-run
Xbin/ppc-make
Xinclude/f2c.h
Xinclude/g++/PlotFile.h
Xinclude/g++/SFile.h
Xinclude/g++/algo.h
Xinclude/g++/algobase.h
Xinclude/g++/algorithm
Xinclude/g++/alloc.h
Xinclude/g++/builtinbuf.h
Xinclude/g++/bvector.h
Xinclude/g++/cassert
Xinclude/g++/cctype
Xinclude/g++/cerrno
Xinclude/g++/cfloat
Xinclude/g++/ciso646
Xinclude/g++/climits
Xinclude/g++/clocale
Xinclude/g++/cmath
Xinclude/g++/complex
Xinclude/g++/complex.h
Xinclude/g++/csetjmp
Xinclude/g++/csignal
Xinclude/g++/cstdarg
Xinclude/g++/cstddef
Xinclude/g++/cstdio
Xinclude/g++/cstdlib
Xinclude/g++/cstring
Xinclude/g++/ctime
Xinclude/g++/cwchar
Xinclude/g++/cwctype
Xinclude/g++/defalloc.h
Xinclude/g++/deque
Xinclude/g++/deque.h
Xinclude/g++/editbuf.h
Xinclude/g++/floatio.h
Xinclude/g++/fstream
Xinclude/g++/fstream.h
Xinclude/g++/function.h
Xinclude/g++/functional
Xinclude/g++/hash_map
Xinclude/g++/hash_map.h
Xinclude/g++/hash_set
Xinclude/g++/hash_set.h
Xinclude/g++/hashtable.h
Xinclude/g++/heap.h
Xinclude/g++/indstream.h
Xinclude/g++/iolibio.h
Xinclude/g++/iomanip
Xinclude/g++/iomanip.h
Xinclude/g++/iosfwd
Xinclude/g++/iostdio.h
Xinclude/g++/iostream
Xinclude/g++/iostream.h
Xinclude/g++/iostreamP.h
Xinclude/g++/istream.h
Xinclude/g++/iterator
Xinclude/g++/iterator.h
Xinclude/g++/libio.h
Xinclude/g++/libioP.h
Xinclude/g++/list
Xinclude/g++/list.h
Xinclude/g++/map
Xinclude/g++/map.h
Xinclude/g++/memory
Xinclude/g++/multimap.h
Xinclude/g++/multiset.h
Xinclude/g++/numeric
Xinclude/g++/ostream.h
Xinclude/g++/pair.h
Xinclude/g++/parsestream.h
Xinclude/g++/pfstream.h
Xinclude/g++/procbuf.h
Xinclude/g++/pthread_alloc
Xinclude/g++/pthread_alloc.h
Xinclude/g++/queue
Xinclude/g++/rope
Xinclude/g++/rope.h
Xinclude/g++/ropeimpl.h
Xinclude/g++/set
Xinclude/g++/set.h
Xinclude/g++/slist
Xinclude/g++/slist.h
Xinclude/g++/stack
Xinclude/g++/stack.h
Xinclude/g++/std/bastring.cc
Xinclude/g++/std/bastring.h
Xinclude/g++/std/complext.cc
Xinclude/g++/std/complext.h
Xinclude/g++/std/dcomplex.h
Xinclude/g++/std/fcomplex.h
Xinclude/g++/std/ldcomplex.h
Xinclude/g++/std/straits.h
Xinclude/g++/stdexcept
Xinclude/g++/stdiostream.h
Xinclude/g++/stl.h
Xinclude/g++/stl_algo.h
Xinclude/g++/stl_algobase.h
Xinclude/g++/stl_alloc.h
Xinclude/g++/stl_bvector.h
Xinclude/g++/stl_config.h
Xinclude/g++/stl_construct.h
Xinclude/g++/stl_deque.h
Xinclude/g++/stl_function.h
Xinclude/g++/stl_hash_fun.h
Xinclude/g++/stl_hash_map.h
Xinclude/g++/stl_hash_set.h
Xinclude/g++/stl_hashtable.h
Xinclude/g++/stl_heap.h
Xinclude/g++/stl_iterator.h
Xinclude/g++/stl_list.h
Xinclude/g++/stl_map.h
Xinclude/g++/stl_multimap.h
Xinclude/g++/stl_multiset.h
Xinclude/g++/stl_numeric.h
Xinclude/g++/stl_pair.h
Xinclude/g++/stl_queue.h
Xinclude/g++/stl_raw_storage_iter.h
Xinclude/g++/stl_relops.h
Xinclude/g++/stl_rope.h
Xinclude/g++/stl_set.h
Xinclude/g++/stl_slist.h
Xinclude/g++/stl_stack.h
Xinclude/g++/stl_tempbuf.h
Xinclude/g++/stl_tree.h
Xinclude/g++/stl_uninitialized.h
Xinclude/g++/stl_vector.h
Xinclude/g++/stream.h
Xinclude/g++/streambuf.h
Xinclude/g++/strfile.h
Xinclude/g++/string
Xinclude/g++/strstream
Xinclude/g++/strstream.h
Xinclude/g++/tempbuf.h
Xinclude/g++/tree.h
Xinclude/g++/type_traits.h
Xinclude/g++/utility
Xinclude/g++/vector
Xinclude/g++/vector.h
Xinclude/obstack.h
Xinclude/readline/chardefs.h
Xinclude/readline/keymaps.h
Xinclude/readline/readline.h
Xinfo/cpp.info
Xinfo/cpp.info-1
Xinfo/cpp.info-2
Xinfo/cpp.info-3
Xinfo/g77.info
Xinfo/g77.info-1
Xinfo/g77.info-10
Xinfo/g77.info-11
Xinfo/g77.info-12
Xinfo/g77.info-13
Xinfo/g77.info-14
Xinfo/g77.info-15
Xinfo/g77.info-16
Xinfo/g77.info-17
Xinfo/g77.info-18
Xinfo/g77.info-19
Xinfo/g77.info-2
Xinfo/g77.info-20
Xinfo/g77.info-3
Xinfo/g77.info-4
Xinfo/g77.info-5
Xinfo/g77.info-6
Xinfo/g77.info-7
Xinfo/g77.info-8
Xinfo/g77.info-9
Xinfo/gcc.info
Xinfo/gcc.info-1
Xinfo/gcc.info-10
Xinfo/gcc.info-11
Xinfo/gcc.info-12
Xinfo/gcc.info-13
Xinfo/gcc.info-14
Xinfo/gcc.info-15
Xinfo/gcc.info-16
Xinfo/gcc.info-17
Xinfo/gcc.info-18
Xinfo/gcc.info-19
Xinfo/gcc.info-2
Xinfo/gcc.info-20
Xinfo/gcc.info-21
Xinfo/gcc.info-22
Xinfo/gcc.info-23
Xinfo/gcc.info-24
Xinfo/gcc.info-25
Xinfo/gcc.info-26
Xinfo/gcc.info-27
Xinfo/gcc.info-28
Xinfo/gcc.info-3
Xinfo/gcc.info-4
Xinfo/gcc.info-5
Xinfo/gcc.info-6
Xinfo/gcc.info-7
Xinfo/gcc.info-8
Xinfo/gcc.info-9
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/cc1
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/cc1plus
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/cpp
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/README
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/exception
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/fixed
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/float.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/iso646.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/limits.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/new
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/new.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/proto.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/stdarg.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/stddef.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/syslimits.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/typeinfo
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-alpha.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-arc.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-clipper.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-h8300.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-i860.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-i960.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-m32r.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-m88k.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-mips.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-mn10200.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-mn10300.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-pa.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-ppc.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-pyr.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-sh.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-sparc.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-spur.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/va-v850.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/include/varargs.h
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/ld
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/libgcc.a
Xlib/gcc-lib/powerpc-netbsd/egcs-2.91.08/specs
Xlib/libf2c.a
Xlib/libmmalloc.a
Xlib/libpowerpc-netbsd-bfd.a
Xlib/libpowerpc-netbsd-opcodes.a
Xlib/libreadline.a
Xman/man1/cccp.1
Xman/man1/configure.1
Xman/man1/powerpc-netbsd-g++.1
Xman/man1/powerpc-netbsd-gcc.1
Xman/man1/powerpc-netbsd-gdb.1
Xpowerpc-netbsd/bin/gcc
Xpowerpc-netbsd/include/_G_config.h
Xpowerpc-netbsd/lib/libiberty.a
Xpowerpc-netbsd/lib/libstdc++.a
END-of-crossppc-egcs/pkg/PLIST
echo x - crossppc-egcs/Makefile.inc
sed 's/^X//' >crossppc-egcs/Makefile.inc << 'END-of-crossppc-egcs/Makefile.inc'
X# $NetBSD: Makefile,v 1.5 1997/11/13 14:37:45 hubertf Exp $
X#
X# for crossppc
X#
X
XTARGET_MACHINE_ARCH=powerpc
XTARGET_MACHINE?=ofppc
XTARGET=		${TARGET_MACHINE_ARCH}-netbsd
XALLSRC?=	/usr/tmp/src
XTARGET_ROOT?=	/usr/tmp/root
END-of-crossppc-egcs/Makefile.inc
echo c - crossppc-gas
mkdir -p crossppc-gas > /dev/null 2>&1
echo c - crossppc-gas/files
mkdir -p crossppc-gas/files > /dev/null 2>&1
echo c - crossppc-gas/patches
mkdir -p crossppc-gas/patches > /dev/null 2>&1
echo c - crossppc-gas/pkg
mkdir -p crossppc-gas/pkg > /dev/null 2>&1
echo x - crossppc-gas/pkg/COMMENT
sed 's/^X//' >crossppc-gas/pkg/COMMENT << 'END-of-crossppc-gas/pkg/COMMENT'
Xcross-gas for powerpc
END-of-crossppc-gas/pkg/COMMENT
echo x - crossppc-gas/pkg/DESCR
sed 's/^X//' >crossppc-gas/pkg/DESCR << 'END-of-crossppc-gas/pkg/DESCR'
Xcross-gas for powerpc
END-of-crossppc-gas/pkg/DESCR
echo x - crossppc-gas/pkg/PLIST
sed 's/^X//' >crossppc-gas/pkg/PLIST << 'END-of-crossppc-gas/pkg/PLIST'
Xbin/powerpc-netbsd-addr2line
Xbin/powerpc-netbsd-ar
Xbin/powerpc-netbsd-as
Xbin/powerpc-netbsd-c++filt
Xbin/powerpc-netbsd-gasp
Xbin/powerpc-netbsd-ld
Xbin/powerpc-netbsd-nm
Xbin/powerpc-netbsd-objcopy
Xbin/powerpc-netbsd-objdump
Xbin/powerpc-netbsd-ranlib
Xbin/powerpc-netbsd-size
Xbin/powerpc-netbsd-strings
Xbin/powerpc-netbsd-strip
Xinclude/ansidecl.h
Xinclude/bfd.h
Xinclude/bfdlink.h
Xlib/libbfd.a
Xlib/libbfd.la
Xlib/libiberty.a
Xlib/libopcodes.a
Xlib/libopcodes.la
Xman/man1/powerpc-netbsd-addr2line.1
Xman/man1/powerpc-netbsd-ar.1
Xman/man1/powerpc-netbsd-as.1
Xman/man1/powerpc-netbsd-c++filt.1
Xman/man1/powerpc-netbsd-ld.1
Xman/man1/powerpc-netbsd-nlmconv.1
Xman/man1/powerpc-netbsd-nm.1
Xman/man1/powerpc-netbsd-objcopy.1
Xman/man1/powerpc-netbsd-objdump.1
Xman/man1/powerpc-netbsd-ranlib.1
Xman/man1/powerpc-netbsd-size.1
Xman/man1/powerpc-netbsd-strings.1
Xman/man1/powerpc-netbsd-strip.1
Xpowerpc-netbsd/bin/ar
Xpowerpc-netbsd/bin/as
Xpowerpc-netbsd/bin/ld
Xpowerpc-netbsd/bin/nm
Xpowerpc-netbsd/bin/ranlib
Xpowerpc-netbsd/bin/strip
Xpowerpc-netbsd/lib/ldscripts/elf32ppc.x
Xpowerpc-netbsd/lib/ldscripts/elf32ppc.xbn
Xpowerpc-netbsd/lib/ldscripts/elf32ppc.xn
Xpowerpc-netbsd/lib/ldscripts/elf32ppc.xr
Xpowerpc-netbsd/lib/ldscripts/elf32ppc.xs
Xpowerpc-netbsd/lib/ldscripts/elf32ppc.xu
END-of-crossppc-gas/pkg/PLIST
echo x - crossppc-gas/Makefile
sed 's/^X//' >crossppc-gas/Makefile << 'END-of-crossppc-gas/Makefile'
X# $NetBSD: Makefile,v 1.5 1997/11/13 14:37:45 hubertf Exp $
X# New ports collection makefile for:	powerpc cross binutils
X# Version required:
X# Date created:
X# Whom:
X#
X
XDISTNAME=       gas+utils
XPKGNAME=        crossppc-gas
XCATEGORIES=	devel
XMASTER_SITES=   ftp://ftp.cygnus.com/private/gas/
XEXTRACT_SUFX=	.tgz
X
XGNU_CONFIGURE=	yes
X
X.include <${CURDIR}/../crossppc-egcs/Makefile.inc>
X
XCONFIGURE_ARGS=	--prefix=${PREFIX} --target=${TARGET}
X
XUSE_GMAKE=	yes
X
Xpost-extract:
X	${MV} ${WRKDIR}/gas* ${WRKDIR}/${DISTNAME}
X
X.include <bsd.port.mk>
END-of-crossppc-gas/Makefile
exit