diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | configure.in | 13 |
3 files changed, 14 insertions, 11 deletions
@@ -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. @@ -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 diff --git a/configure.in b/configure.in index f763806b41..6971e1ca38 100644 --- a/configure.in +++ b/configure.in @@ -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" |