Date: Sun, 19 Jul 2015 15:06:52 +0000 From: =?utf-8?B?bS52YWxlQGxpdmUuY29tLmF1?= <m.vale@live.com.au> To: <freebsd-embedded@freebsd.org>, <freebsd-arm@freebsd.org>, <freebsd-mips@freebsd.org>, <bapt@freebsd.org>, <portmgr@freebsd.org> Subject: Re: bsd.port.mk - cross compiling and target binary set Message-ID: <COL401-EAS467713FBFA78B6B0599C29DC4860@phx.gbl>
next in thread | raw e-mail | index | archive | help
--_aab9fb25-4c08-42e6-904b-43306b3eb34c_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" <!-- .EmailQuote { margin-left: 1pt=3B padding-left: 4pt=3B border-left: #8= 00000 2px solid=3B } --> Well. Upon further examination that patch was rather no good. I've fix= ed all the bugs now I just have to test it out properly. I will probably post something substantial in the next 24 hours. Sent from my LG G3 on the Telstra Mobile network ------ Original message------From: Michael ValeDate: Sun=2C 19 Jul 2015 21:= 01To: freebsd-embedded@freebsd.org=3Bfreebsd-arm@freebsd.org=3Bfreebsd-mips= @freebsd.org=3Bbapt@freebsd.org=3Bportmgr@freebsd.org=3BSubject:bsd.port.mk= - cross compiling and target binary set Okay=2C I've done a lot more work on this patch. It builds and installs bu= ild=2C lib and run depends=2C builds and installs the target port recursive= ly. The only problem is if a build/install process wishes to run an execut= able that has been built for the target. The patch assumes you have a src tree in ${HOME}/src=2C a WRKDIR=3D${HOME}/= work=2C TARGETDIR=3D${HOME}/root and OBJDIR=3D${HOME}/obj. It also assumes= you have built a target filesystem with freebsd-wifi-build or similar. It will build and install as a user like so: bmake TARGET_ARCH=3Dmips BUILD_AS_USER=3D INSTALL_AS_USER=3D SRC_BASE=3D/ho= me/masked/src install --------------------------------------- Can anyone tell me or confirm if I don't set a target triple=2C and just a = host triple=2C if the executables are compiled in a cross arch manner like = the name cross-compiler implies? that the binaries will execute on both th= e build machine and the host machine assuming configure --host=3D${AN_ARCH_= OTHER_THAN_THE_BUILD_MACHINE}? I doubt it=2C but it'd be nice if thats what's actually going on here. --_aab9fb25-4c08-42e6-904b-43306b3eb34c_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-embedded@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-embedded To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" --_aab9fb25-4c08-42e6-904b-43306b3eb34c_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?COL401-EAS467713FBFA78B6B0599C29DC4860>