[前][次][番号順一覧][スレッド一覧]

ruby-changes:21220

From: mrkn <ko1@a...>
Date: Wed, 14 Sep 2011 12:41:06 +0900 (JST)
Subject: [ruby-changes:21220] mrkn:r33269 (ruby_1_9_3): * configure.in: do not use gcc-4.2 as the default compiler.

mrkn	2011-09-14 12:40:54 +0900 (Wed, 14 Sep 2011)

  New Revision: 33269

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33269

  Log:
    * configure.in: do not use gcc-4.2 as the default compiler.
    * NEWS: describe the issue about Xcode.

  Modified files:
    branches/ruby_1_9_3/ChangeLog
    branches/ruby_1_9_3/NEWS
    branches/ruby_1_9_3/configure.in

Index: ruby_1_9_3/configure.in
===================================================================
--- ruby_1_9_3/configure.in	(revision 33268)
+++ ruby_1_9_3/configure.in	(revision 33269)
@@ -89,21 +89,12 @@
 
 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"
Index: ruby_1_9_3/ChangeLog
===================================================================
--- ruby_1_9_3/ChangeLog	(revision 33268)
+++ ruby_1_9_3/ChangeLog	(revision 33269)
@@ -1,3 +1,9 @@
+Wed Sep 14 12:39:00 2011  Kenta Murata  <mrkn@m...>
+
+	* 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@g...>
 
 	* thread.c (rb_fd_rcopy): added an argument guard.
Index: ruby_1_9_3/NEWS
===================================================================
--- ruby_1_9_3/NEWS	(revision 33268)
+++ ruby_1_9_3/NEWS	(revision 33269)
@@ -25,6 +25,12 @@
 * 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]