[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cross compiling pkgsrc
¹õÅĤȿ½¤·¤Þ¤¹¡¥
pkgsrc ¤Î¥¯¥í¥¹¥³¥ó¥Ñ¥¤¥ë¤ò¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¤
¤É¤¦¤·¤Æ¤â¥³¥ó¥Ñ¥¤¥ë¤Ç¤¤Ê¤¤¤â¤Î¤¬¤¢¤ë¤Î¤Ç¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡¥
¡¦¸½¾Ý
buildlink.mk ¤ò»È¤Ã¤Æ¤¤¤ë¤â¤Î¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È¤¹¤ë¤È¡¤
work/.buildlink °Ê²¼¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤¬ /usr/pkg ¤Î¥é¥¤¥Ö¥é¥ê¤ò
¤µ¤·¤Æ¤·¤Þ¤Ã¤Æ¥³¥ó¥Ñ¥¤¥ë¤Ë¼ºÇÔ¤¹¤ë¡¥
¡¦´Ä¶
i386 ¥Þ¥·¥ó(1.5.2) ¤Ëcross-mipsel-netbsd-1.3.0.0 ¤ò¥¤¥ó¥¹¥È¡¼¥ë
/home/pkgsrc °Ê²¼¤Ë pkgsrc.tar.gz ¤òŸ³«
/home/netbsd/1.5.2/hpcmips °Ê²¼¤Ë base.tgz etc ¤òŸ³«
/usr/pkg/cross/mipsel-netbsd/lib,include ¤Ç
hpcmips/usr/lib,include¤¬¸«¤¨¤ë¤è¤¦¤ËÀßÄê
¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤Ëή¤ì¤Æ¤¤¤¿ hpcmips-make ¤ò°Ê²¼¤Î¤è¤¦¤ËÊѹ¹
DESTDIR=/home/netbsd/1.5.2/hpcmips export DESTDIR
PKG_DBDIR=/home/netbsd/1.5.2/hpcmips/var/db/pkg export PKG_DBDIR
BUILDLINK_PREFIX.xx ¤Ê¤É¤òÊѤ¨¤Æ¤ß¤Þ¤·¤¿¤¬¡¤¤É¤¦¤â¤¦¤Þ¤¯¤¤¤¤Þ¤»¤ó¡¥
²¿¤«´Ä¶ÊÑ¿ô¤Î»ØÄ꤬¤ê¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡¥¡¥¡¥
--
¹õÅÄ Î¼(¤¯¤í¤À ¤¢¤¤é)
aurora@rr.iij4u.or.jp