graydon/rust — Issue #1291: build broken on os x
Author: boggle
Created: 2011-12-14 00:05:35+00:00
State: open

It appears to me, the build is broken on os x

cd build
../configure
<..>
configure:
configure: CFG_SRC_DIR := ../
configure: CFG_BUILD_DIR := /opt/rust/src/rust/build
configure: CFG_OSTYPE := apple-darwin
configure: CFG_CPUTYPE := x86_64
configure: CFG_CONFIGURE_ARGS :=
configure: CFG_HOST_TRIPLE :=
configure: CFG_TARGET_TRIPLES :=
configure: CFG_C_COMPILER := gcc
configure: CFG_PREFIX := /usr/local
configure: CFG_LLVM_ROOT :=
configure: CFG_LLVM_SRC_DIR := ../src/llvm
configure:
configure: cp ../Makefile.in ./Makefile
configure:
configure: complete
configure:
make
cfg: shell host triple
cfg: non host triples
cfg: unix-y environment
cfg: using gcc
make: *** No rule to make target `rustc-H-', needed by `all'. Stop.

gcc -v

Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror -- prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)