On Thu, Apr 25, 2013 at 01:16:06AM +0200, Jeremy Reeve wrote: > On Wed, Apr 24, 2013 at 02:56:13PM -0700, Jed Davis wrote: > > On Wed, Apr 24, 2013 at 11:54:59AM +0200, Gabriele Svelto wrote: > > > You can use GCC 4.6 to build the entire B2G stack; that's what we > > > use on Ubuntu > > > > Are we talking about the host compiler or the target compiler? > > > > I was reasonably sure that the target compiler for b2g is always 4.4.3, > > and will remain so until we can move from being based on Ice Cream > > Sandwich to Jelly Bean. > > Which is a brilliant segue to: "What are CC and CXX influencing and how do I > tell the build system to use my particular cross (target) compiler?"
CC and CXX are for the host compiler. TARGET_TOOLS_PREFIX is the string for finding the cross tools -- for a complicated example, see https://github.com/jld/B2G/blob/profiling/setup.sh#L17 --Jed _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
