Permalink
Browse files

* configure.in: do not use gcc-4.2 as the default compiler.

* NEWS: describe the issue about Xcode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent fe3306b commit 9151ed22b360ba3d2bde3b51969a682f9a4a3096 @mrkn mrkn committed Sep 14, 2011
Showing with 14 additions and 11 deletions.
  1. +6 −0 ChangeLog
  2. +6 −0 NEWS
  3. +2 −11 configure.in
View
@@ -1,3 +1,9 @@
+Wed Sep 14 12:39:00 2011 Kenta Murata <mrkn@mrkn.jp>
+
+ * configure.in: do not use gcc-4.2 as the default compiler.
+
+ * NEWS: describe the issue about Xcode.
+
Wed Sep 14 11:46:30 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_fd_rcopy): added an argument guard.
View
6 NEWS
@@ -25,6 +25,12 @@ with all sufficient information, see the ChangeLog file.
* rb_reserved_fd_p() added. If you want to close all file descriptors,
check using this API. [ruby-core:37759]
+== Known platform dependent issues
+=== OS X Lion
+
+* You have to configure ruby with '--with-gcc=gcc-4.2' if you're using Xcode 4.1,
+ or, if you're using Xcode 4.2, you have to configure ruby with '--with-gcc=clang'.
+
=== Library updates (outstanding ones only)
* builtin classes
View
@@ -89,21 +89,12 @@ fi
dnl checks for alternative programs
AC_CANONICAL_BUILD
-AS_CASE(["$build_os"],
- [darwin11.*], [
- default_cc=cc-4.2
- default_gcc=gcc-4.2
- ], [
- default_cc=cc
- default_gcc=gcc
- ])
-
AC_ARG_WITH(gcc,
AS_HELP_STRING([--without-gcc], [never use gcc]),
[
AS_CASE([$withval],
- [no], [: ${CC=$default_cc}],
- [yes], [: ${CC=$default_gcc}],
+ [no], [: ${CC=cc],
+ [yes], [: ${CC=gcc],
[CC=$withval])])
dnl If the user switches compilers, we can't believe the cache
if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"

0 comments on commit 9151ed2

Please sign in to comment.