Re: Is it feasible to cross-build compat5x binary?

看板FB_security作者時間20年前 (2005/10/28 03:55), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串13/14 (看更多)
--TPGKQYD3WP7vMswh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 25, 2005 at 01:09:35PM -0400, Kris Kennaway wrote: > On Tue, Oct 25, 2005 at 02:47:57AM +0200, Jeremie Le Hen wrote: > > Hi Peter and others, > >=20 > > > At some stage, we need to validate our cross-build chain with cmp(1). > > > We can probably leverage off the work that NetBSD has done in this > > > area. This would significantly simplify the work involved in support= ing > > > the various architectures. > >=20 > > in case you know enough about NetBSD's build.sh, can you say if FreeBSD= 's > > build architecture is powerful enough to merely use it with a few s/// > > or does it still lack one or more things ? >=20 It depends on what's your FreeBSD and NetBSD versions are. If both are HEADs of CVS, I only had to add freebsd-7 and -x86_64-*-freebsd*) +amd64-*-freebsd* | x86_64-*-freebsd*) support into two files in the NetBSD distribution of gcc to make it compile, but other than that it works (I use my 7-current amd64 box dailyto cross-build NetBSD-current for a MIPS-based SoC). > I expect it's pretty different. ru@ did a lot of work on > cross-building FreeBSD though, and he had a fairly detailed list > of known differences between cross-built and native builds. I'm not > sure if he reduced it to 0 length. >=20 I'm sure I reported it to the current@ list a while back. I've been able to reduce it to the length of 1, and for some time now, I use my fastest box (amd64) to cross-build and cross-install worlds and kernels for other architecture machines in my home network (i386, alpha, and until recently sparc64). Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --TPGKQYD3WP7vMswh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDYS8zqRfpzJluFF4RAsuKAKCFEKFTLf422l2ULrSCqwhki9mcDgCeNkOv xOB2hdq1y2M2v4cqDrVjIFM= =5mGc -----END PGP SIGNATURE----- --TPGKQYD3WP7vMswh--
文章代碼(AID): #13OJ2k00 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #13OJ2k00 (FB_security)