From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 10 Nov 2010 17:09:40 -0500 Subject: [U-Boot] [WIP] tools/env: cleanup host build flags In-Reply-To: <4CDA88FB.10100@schmid-telecom.ch> References: <1286813206-20163-1-git-send-email-daniel.hobi@schmid-telecom.ch> <201011100423.13449.vapier@gentoo.org> <4CDA88FB.10100@schmid-telecom.ch> Message-ID: <201011101709.40962.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, November 10, 2010 06:58:51 Daniel Hobi wrote: > On 10.11.2010 10:23, Mike Frysinger wrote: > > On Monday, October 11, 2010 12:06:46 Daniel Hobi wrote: > >> - use the cross compiler again (fw_printenv is intended for a > >> > >> hosted environment on the target). > > > > the cross-compiler used to create u-boot has no guarantee that it'll > > produce executables useful for the target OS. often this isnt the case. > > HOSTCC however will produce useful userspace applications for whatever > > host the user has selection. > > But in many cases the default for CC is sufficient to build such > executables, whereas the default for HOSTCC is almost never (except when > HOST==TARGET). the difference is that the current state is consistent across all tools. i wish to cross-compile all of them for different systems and not just subsets in different inconsistent ways. > Usually HOSTCC refers to the system where the toolchain is running. So > maybe we should introduce TARGETCC to build executables running on the > system the toolchain is generating executables for. TARGETCC would i'm ok with splitting the logic a bit more to refine the intentions -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20101110/4f089a9c/attachment.pgp