Issue #6043 has been updated by Yui NARUSE.

Status changed from Open to Assigned
Assignee set to Kenta Murata

Recent ruby seems to work with llvm-gcc.
mrkn, could you confirm and decide the direction?
----------------------------------------
Bug #6043: compile error for 1.9.3-p125 on OS X 10.7.3 with Xcode 4.2.1, gcc not found
https://bugs.ruby-lang.org/issues/6043

Author: Jan Harmsen
Status: Assigned
Priority: Normal
Assignee: Kenta Murata
Category: 
Target version: 
ruby -v: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]


Configure aborts due to not finding gcc, configure script looks for gcc-4.2 but there is only /usr/bin/gcc

/usr/bin/gcc --version 
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

For a successfule compile, param '--with-gcc=clang' needs to be specified:

rvm install ruby-1.9.3-p125 --with-gcc=clang

will successfully install ruby-1.9.3-p125


-- 
http://bugs.ruby-lang.org/