Christopher, The Mac OS bootstrap installs gcc-4.6, but not g++-4.6. I'm wondering if the right move here is to update the bootstrap to install g++ as well?
Did you change your build to use the llvm-gcc-4.2 compilers in .userconfig or in the makefiles? - James On Friday, October 11, 2013 9:42:17 PM UTC-4, Christopher De Cairos wrote: > It seemed to start working when I used > > > > llvm-g++-4.2 and llvm-gcc-4.2 > > > > I don't know if it'll produce anything useful though. > > > > Regards, > > > > Christopher De Cairos > > Integration Engineer - Webmaker > > Mozilla Foundation > > > > On 2013-10-11 8:01 PM, James Kruth wrote: > > > Naoki, > > > > > > I just checked, and my gcc isn't actually a symlink: > > > > > > scout:B2G artlogic$ ls -l /usr/bin/gcc > > > -rwxr-xr-x 1 root admin 35472 Sep 19 11:40 /usr/bin/gcc > > > > > > It is apple's gcc, as expected: > > > > > > scout:B2G artlogic$ /usr/bin/gcc -v > > > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > > --with-gxx-include-dir=/usr/include/c++/4.2.1 > > > Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn) > > > Target: x86_64-apple-darwin12.5.0 > > > Thread model: posix > > > > > > Later tonight I'll attempt to compile for the emulator and see if I have > > similar problems. I am pretty sure the inari build is using /usr/bin/gcc, > > when it should be using gcc-4.6 installed by brew, but I'm not as yet sure > > how to resolve this as it seems to be ignoring the CC variable, as I said > > above. > > > > > > - James > > > > > > 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 _______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g