'g++-4.6' -v outputs:
Using built-in specs.
COLLECT_GCC=g++-4.6
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc-4.6/4.6.3/gcc/libexec/gcc/x86_64-apple-darwin12.4.0/4.6.3/lto-wrapper
Target: x86_64-apple-darwin12.4.0
Configured with: ../configure --enable-languages=c,c++
--prefix=/usr/local/Cellar/gcc-4.6/4.6.3/gcc
--datarootdir=/usr/local/Cellar/gcc-4.6/4.6.3/share
--bindir=/usr/local/Cellar/gcc-4.6/4.6.3/bin --program-suffix=-4.6
--with-gmp=/usr/local/Cellar/gmp/5.1.2 --with-mpfr=/usr/local/Cellar/mpfr/3.1.2
--with-mpc=/usr/local/Cellar/libmpc/1.0.1 --with-system-zlib
--enable-stage1-checking --enable-plugin --enable-lto --enable-multilib
--disable-nls
Thread model: posix
gcc version 4.6.3 (GCC)
I attempted to link it without the --overwrite, but it said that it had to
overwrite some files to complete it. The brew install command appeared to
complete successfully.
Output of `cd build && git diff` (after resetting to an initial state):
diff --git a/core/combo/HOST_darwin-x86.mk b/core/combo/HOST_darwin-x86.mk
index f1c7966..f13ede6 100644
--- a/core/combo/HOST_darwin-x86.mk
+++ b/core/combo/HOST_darwin-x86.mk
@@ -72,7 +72,10 @@ ifneq ($(findstring llvm-gcc,$(GCC_REALPATH)),)
$(warning ****************************************)
endif
-HOST_CXX := g++
+HOST_CXX := g++-4.6
+ifeq (,$(wildcard /usr/local/bin/g++-4.6))
+ HOST_CXX := g++
+endif
HOST_AR := $(AR)
HOST_STRIP := $(STRIP)
HOST_STRIP_COMMAND = $(HOST_STRIP) --strip-debug $< -o $@
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
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g