Re: [b2g] clang error building on mac os

2013-10-18 Thread Christopher De Cairos
You'll be delighted to hear that I updated the article yesterday! I had meant to give you some notification of that, but I got distracted by a hockey game >.> Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-18 2:02 AM, Chris Mills wrot

Re: [b2g] clang error building on mac os

2013-10-17 Thread Christopher De Cairos
Hey James, I can confirm that I was able to successfully flash the build onto my ZTE Open! Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-17 2:42 PM, James Kruth wrote: That's great news! Does it flash correctly on your device? On Thu

Re: [b2g] clang error building on mac os

2013-10-17 Thread Christopher De Cairos
Haven't tried that yet - is there a way to flash it without overwriting data on the phone? i.e. contacts, installed apps, saved logins? I'm using the phone for two roles, primary device and developer device... which is almost certainly a bad idea :D Regards, Christopher

Re: [b2g] clang error building on mac os

2013-10-17 Thread Christopher De Cairos
Yes, something funky is going on with c++ I've manually pointed c++ at clang++ and now everything's looking great! Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-16 10:12 PM, James Kruth wrote: I'd go so far as to say that's

Re: [b2g] clang error building on mac os

2013-10-16 Thread Christopher De Cairos
llvm-g++-4.2 Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-16 9:16 PM, James Kruth wrote: which -a c++ ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] clang error building on mac os

2013-10-16 Thread Christopher De Cairos
Same output, unfortunately. I'm going to start from scratch again just in case. Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-16 4:14 PM, James Kruth wrote: Everything looks proper to me. You might perform a the following: brew update

Re: [b2g] clang error building on mac os

2013-10-16 Thread Christopher De Cairos
Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-16 3:20 PM, James Kruth wrote: g++-4.6 -v ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] clang error building on mac os

2013-10-16 Thread Christopher De Cairos
build" make[3]: *** [configure] Error 1 make[2]: *** [/Volumes/firefoxos/B2G/objdir-gecko/Makefile] Error 2 make[1]: *** [build] Error 2 make: *** [out/target/product/inari/obj/DATA/gecko_intermediates/gecko] Error 2 Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla

Re: [b2g] clang error building on mac os

2013-10-16 Thread Christopher De Cairos
Aha, I needed to run brew link --overwrite gcc-4.6 to finish the installation. I also found that I needed to put /usr/local/bin before /usr/bin in my PATH. Trying to build now. Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-16 2:21 PM, James

Re: [b2g] clang error building on mac os

2013-10-16 Thread Christopher De Cairos
ation: '-U DEBUG' clang: error: argument unused during compilation: '-MF out/host/darwin-x86/obj/EXECUTABLES/obbtool_intermediates/Main.d' make: *** [out/host/darwin-x86/obj/EXECUTABLES/obbtool_intermediates/Main.o] Error 1 Regards, Christopher De Cairos Integration Engi

Re: [b2g] clang error building on mac os

2013-10-16 Thread Christopher De Cairos
output of ls -l `which llvm-gcc` is /usr/bin/llvm-gcc -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2 I'll try the steps you outlined in your last message now. Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-16 2:19 AM, James Kruth wrote: ls -l `wh

Re: [b2g] clang error building on mac os

2013-10-15 Thread Christopher De Cairos
I haven't seen before. not sure what's causing it. Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-15 12:16 PM, James Kruth wrote: Christopher, I've been able to make (what I think) is a good build simply by changing HOST_CXX inside build

Re: [b2g] clang error building on mac os

2013-10-15 Thread Christopher De Cairos
I'll blow away my /out and /objdir-gecko folders and rebuild as soon as I have a chance, changing only that HOST_darwin-x86.mk file, and see what happens. Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-15 12:16 PM, James Kruth wrote: Christ

Re: [b2g] clang error building on mac os

2013-10-15 Thread Christopher De Cairos
I've made a few minor changes to the MDN article to fix some errors I made in my original description. Thanks for documenting this! Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-15 3:52 AM, Chris Mills wrote: Hi is great Christopher - t

Re: [b2g] clang error building on mac os

2013-10-14 Thread Christopher De Cairos
onfig file, for good measure: export CXX=llvm-g++-4.6 export CC=llvm-gcc-4.6 export CPP=llvm-gcc-4.6 Let me know if I can clarify any of the above a bit further. Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-14 1:25 AM, Chris Mills wrote: And a

Re: [b2g] clang error building on mac os

2013-10-13 Thread Christopher De Cairos
that. Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-12 4:12 PM, James Kruth wrote: Some updates on what appears to be going on here: * On Xcode 4.x, /usr/bin/gcc was a symlink, likely to llvm-gcc-4.2 (which apparently wouldn't produce a usable emulator

Re: [b2g] clang error building on mac os

2013-10-11 Thread Christopher De Cairos
I changed HOST_darwin-x86.mk to avoid altering existing symlinks in /usr/bin, and because the .userconfig seemed to have no affect on the values in there. Regards, Christopher De Cairos Integration Engineer - Webmaker Mozilla Foundation On 2013-10-11 10:46 PM, James Kruth wrote: Christopher

Re: [b2g] clang error building on mac os

2013-10-11 Thread Christopher De Cairos
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

Re: [b2g] clang error building on mac os

2013-10-11 Thread Christopher De Cairos
I've narrowed this down to build/core/combo/HOST_darwin-x86.mk line 75 is: HOST_CXX := g++ I changed it to "gcc-4.6" and I then get "gcc-4.6: error: frameworks/base/tools/obbtool/Main.cpp: C++ compiler not installed on this system" D: Regards, Christopher De Ca

Re: [b2g] clang error building on mac os

2013-10-11 Thread Christopher De Cairos
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, Christop