I'm compiling for inari as well.  I'm a little hesitant to start mucking around 
with symlinks, especially when it seems as if exporting CC=gcc-4.6 should 
really do the trick.  It's almost as if part of the build process is ignoring 
the CC variable.

On Friday, October 11, 2013 4:57:59 PM UTC-4, Naoki Hirata wrote:
> Interesting.
> 
> 
> 
> At one point on one of my machines, I recall I used to have issues until 
> 
> I looked at which gcc I was using... which pointed to /usr/bin/gcc
> 
> 
> 
> I took a closer look at doing a ls -l /usr/bin/gcc and it turned out to 
> 
> be a softlink to my XCode compiler's version of gcc.  I ended up 
> 
> removing that softlink and then creating a new softlink to gcc for the 
> 
> gcc-4.6 and that resolved my compiling issue.
> 
> 
> 
> I haven't ran into that issue with running on 10.8.5 though.  Not sure 
> 
> why.  It's been my experience that every time you update XCode likes to 
> 
> reset stuff.  (ie the softlink and removing the 10.6 SDK.
> 
> 
> 
> Anyways, I suggest removing the objdir-gecko and out folder if they 
> 
> exist before compiling again for any change that you make to help 
> 
> resolve your issue.
> 
> 
> 
> Regards,
> 
> Naoki
> 
> 
> 
> On 10/11/13 1:48 PM, Christopher De Cairos wrote:
> 
> > I'm building for a ZTE Open (inari), so I don't believe it's homebrew.
> 
> >
> 
> > I've set CXX and CC in my .userconfig to gcc-4.6 too, so not sure why 
> 
> > it's not picking it up.
> 
> >
> 
> > Regards,
> 
> >
> 
> > Christopher De Cairos
> 
> > Integration Engineer - Webmaker
> 
> > Mozilla Foundation
> 
> >
> 
> > Regards,
> 
> >
> 
> > Christopher De Cairos
> 
> >
> 
> > On 2013-10-11 4:45 PM, Naoki Hirata wrote:
> 
> >> Not sure, possibly :
> 
> >> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#Mountain_Lion_homebrew_gotcha
> >>  
> 
> >>
> 
> >>
> 
> >> Are you trying to compile the emulator?
> 
> >>
> 
> >> Regards,
> 
> >> Naoki
> 
> >> On 10/11/13 1:39 PM, chris.decai...@gmail.com wrote:
> 
> >>> I'm seeing the exact same errors, using Xcode 5 OSX 10.8.4, 
> 
> >>> symlinked 10.6 SDK as per instructions.
> 
> >>>
> 
> >>> Anyone know what the problem might be?
> 
> >>> _______________________________________________
> 
> >>> dev-b2g mailing list
> 
> >>> dev-b2g@lists.mozilla.org
> 
> >>> https://lists.mozilla.org/listinfo/dev-b2g
> 
> >>
> 
> >

_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to