Subject: pkg/8710: add cross-m68k-netbsd package
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 10/30/1999 02:48:46
>Number:         8710
>Category:       pkg
>Synopsis:       add cross-m68k-netbsd package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 30 02:48:00 1999
>Last-Modified:
>Originator:     Izumi Tsutsui
>Organization:
Izumi Tsutsui	Himeji City, Japan
>Release:        NetBSD-current pkgsrc 19991006
>Environment:
System: NetBSD 1.4L i386 and arm32

>Description:
There is no cross-compile environment package
for NetBSD/m68k a.out system.

>How-To-Repeat:
>Fix:
Make m68k-netbsd directory and files with the following shar
on pkgsrc/cross directroy.

binutils-2.9.1 does not support a.out-m68k-netbsd PIC,
but it is still useful for cross-compiling kernel
on faster machines.

# 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:
#
#	m68k-netbsd
#	m68k-netbsd/files
#	m68k-netbsd/files/md5
#	m68k-netbsd/Makefile
#	m68k-netbsd/patches
#	m68k-netbsd/pkg
#	m68k-netbsd/pkg/COMMENT
#	m68k-netbsd/pkg/DESCR
#	m68k-netbsd/pkg/MESSAGE
#	m68k-netbsd/pkg/PLIST
#
echo c - m68k-netbsd
mkdir -p m68k-netbsd > /dev/null 2>&1
echo c - m68k-netbsd/files
mkdir -p m68k-netbsd/files > /dev/null 2>&1
echo x - m68k-netbsd/files/md5
sed 's/^X//' >m68k-netbsd/files/md5 << 'END-of-m68k-netbsd/files/md5'
X$NetBSD$
X
XMD5 (binutils-2.9.1.tar.gz) = 8f9ad1a6e96742fd3069479171a63c22
XMD5 (egcs-1.1.1.tar.gz) = 0b3f0e856dcbb2241c183081fc7271af
XMD5 (egcs-1.1.1-NetBSD-19980104.diff.gz) = 8c4d952d999ead62f6604948c65c2454
END-of-m68k-netbsd/files/md5
echo x - m68k-netbsd/Makefile
sed 's/^X//' >m68k-netbsd/Makefile << 'END-of-m68k-netbsd/Makefile'
X# $NetBSD$
X#
X
XDISTVERSION=		1.3.0.0
XDISTFILES=		# none
X
XMAINTAINER=		packages@netbsd.org
XHOMEPAGE=		http://www.netbsd.org/
X
XWRKSRC=			${WRKDIR}/${BINUTILS_DISTNAME}
X
XUSE_CROSS_BINUTILS=	yes
XBINUTILS_GNUTARGET=	a.out-m68k-netbsd
XBINUTILS_LDEMULATION=	m68knbsd
XUSE_CROSS_EGCS=		yes
XEGCS_FAKE_RUNTIME=	yes
X
XTARGET_ARCH=		m68k-netbsd
X
X.include "../COMMON/cross.mk"
END-of-m68k-netbsd/Makefile
echo c - m68k-netbsd/patches
mkdir -p m68k-netbsd/patches > /dev/null 2>&1
echo c - m68k-netbsd/pkg
mkdir -p m68k-netbsd/pkg > /dev/null 2>&1
echo x - m68k-netbsd/pkg/COMMENT
sed 's/^X//' >m68k-netbsd/pkg/COMMENT << 'END-of-m68k-netbsd/pkg/COMMENT'
XCross-compile environment for a.out NetBSD/m68k
END-of-m68k-netbsd/pkg/COMMENT
echo x - m68k-netbsd/pkg/DESCR
sed 's/^X//' >m68k-netbsd/pkg/DESCR << 'END-of-m68k-netbsd/pkg/DESCR'
XThis cross-compile environment is for a.out NetBSD/m68k
END-of-m68k-netbsd/pkg/DESCR
echo x - m68k-netbsd/pkg/MESSAGE
sed 's/^X//' >m68k-netbsd/pkg/MESSAGE << 'END-of-m68k-netbsd/pkg/MESSAGE'
X=============================================================================
X$NetBSD$
X
XThis pkg DOES NOT install headers or runtime link libraries.  Only the
Xcompilers are installed.
X
XIn order to have a complete development setup, you need to install
Xincludes and libraries in ${CROSSBASE}/m68k-netbsd/include and
X${CROSSBASE}/m68k-netbsd/lib respectively, or symlink these paths to
Xthe appropriate places.
X
X=============================================================================
END-of-m68k-netbsd/pkg/MESSAGE
echo x - m68k-netbsd/pkg/PLIST
sed 's/^X//' >m68k-netbsd/pkg/PLIST << 'END-of-m68k-netbsd/pkg/PLIST'
X@comment $NetBSD$
END-of-m68k-netbsd/pkg/PLIST
exit

>Audit-Trail:
>Unformatted: