[#9642] Re: host.conf は参照しないの? — akira yamada / やまだあきら <akira@...>

15 messages 2000/05/09

[#9672] IO.popen — Koji Arai <JCA02266@...>

新井です。

22 messages 2000/05/13
[#9673] Re: IO.popen — Koji Arai <JCA02266@...> 2000/05/13

新井です。

[#9682] Re: IO.popen — matz@... (Yukihiro Matsumoto) 2000/05/14

まつもと ゆきひろです

[#9676] support mingw32 — WATANABE Hirofumi <eban@...>

わたなべです.

32 messages 2000/05/13
[#9678] Re: support mingw32 — Masaki Suketa <CQN02273@...> 2000/05/14

助田です.

[#9680] Re: support mingw32 — WATANABE Hirofumi <eban@...> 2000/05/14

わたなべです.

[#9686] Re: support mingw32 — Katsuyuki Komatsu <komatsu@...> 2000/05/15

小松です。

[#9687] Re: support mingw32 — WATANABE Hirofumi <Hirofumi.Watanabe@...> 2000/05/15

わたなべです.

[#9806] rescue variable syntax — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

40 messages 2000/05/24
[#9811] Re: rescue variable syntax — ARIMA Yasuhiro <fit0298@...> 2000/05/24

有馬です。

[#9814] Re: rescue variable syntax — matz@... (Yukihiro Matsumoto) 2000/05/24

まつもと ゆきひろです

[#9821] Re: rescue variable syntax — nobu.nakada@... 2000/05/25

なかだです。

[#9823] Re: rescue variable syntax — ARIMA Yasuhiro <fit0298@...> 2000/05/25

有馬です。

[#9833] Re: rescue variable syntax — matz@... (Yukihiro Matsumoto) 2000/05/25

まつもと ゆきひろです

[#9861] Re: rescue variable syntax — gotoken@... (GOTO Kentaro) 2000/05/25

ごとけんです

[#9866] Re: rescue variable syntax — matz@... (Yukihiro Matsumoto) 2000/05/25

まつもと ゆきひろです

[#9870] Re: rescue variable syntax — nagai@... 2000/05/26

永井@知能.九工大です.

[#9873] Re: rescue variable syntax — matz@... (Yukihiro Matsumoto) 2000/05/27

まつもと ゆきひろです

[#9812] Forward: Error in NT makefile (PR#7) — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

21 messages 2000/05/24
[#9820] Re: Forward: Error in NT makefile (PR#7) — Katsuyuki Komatsu <komatsu@...> 2000/05/25

小松です。

[#9842] Re: Forward: Error in NT makefile (PR#7) — WATANABE Hirofumi <Hirofumi.Watanabe@...> 2000/05/25

わたなべです.

[#9855] Re: Forward: Error in NT makefile (PR#7) — Katsuyuki Komatsu <komatsu@...> 2000/05/25

小松です。

[#9879] Re: Forward: Error in NT makefile (PR#7) — WATANABE Hirofumi <eban@...> 2000/05/28

わたなべです.

[#9857] $0 handling on NT — Katsuyuki Komatsu <komatsu@...>

小松です。

18 messages 2000/05/25
[#9869] Re: $0 handling on NT — nobu.nakada@... 2000/05/26

なかだです。

[ruby-dev:9615] Platform specific library for extensions.

From: Katsuyuki Komatsu <komatsu@...>
Date: 2000-05-02 03:17:43 UTC
List: ruby-dev #9615
小松です。

macosとかを導入するたびにconfigure.in, ext/extmk.rb.in, lib/mkmf.rb
の3つのファイルを変更するのは面倒なので、DLDLIBSを導入してみました。

# 名前 (DLDLIBS) に問題があれば変更しますが……

あとは、いつものwin32/ruby.defのメンテナンスです。

Tue May  2 09:50:03 2000  Katsuyuki Komatsu  <komatsu@sarion.co.jp>

	* configure.in: add DLDLIBS to set platform specific library
	  for extensions.

	* ext/extmk.rb.in: use @DLDLIBS@ instead of RUBY_PLATFORM choice.

	* lib/mkmf.rb: use CONFIG["DLDLIBS"] instead of RUBY_PLATFORM choice.

	* config_s.dj: add @DLDLIBS@.

	* win32/config.status: ditto.

	* win32/ruby.def: regular maintenance.


diff -ru1p ruby-1.5.3.dist/config_s.dj ruby-1.5.3/config_s.dj
--- ruby-1.5.3.dist/config_s.dj	Wed Apr 12 14:06:21 2000
+++ ruby-1.5.3/config_s.dj	Tue May  2 09:50:03 2000
@@ -53,2 +53,3 @@ s%@LIBRUBY_SO@%%g
 s%@SOLIBS@%%g
+s%@DLDLIBS@%%g
 s%@srcdir%.%g
diff -ru1p ruby-1.5.3.dist/configure.in ruby-1.5.3/configure.in
--- ruby-1.5.3.dist/configure.in	Mon May  1 18:41:12 2000
+++ ruby-1.5.3/configure.in	Tue May  2 09:50:03 2000
@@ -713,2 +713,11 @@ fi
 
+case "$target_os" in
+  cygwin*|beos*|openstep*|nextstep*|rhapsody*|macos*|os2_emx*)
+    DLDLIBS=""
+    ;;
+  *)
+    DLDLIBS="-lc"
+    ;;
+esac
+
 LIBRUBY_LDSHARED=$LDSHARED
@@ -821,2 +830,3 @@ AC_SUBST(LIBRUBYARG)
 AC_SUBST(SOLIBS)
+AC_SUBST(DLDLIBS)
 
diff -ru1p ruby-1.5.3.dist/ext/extmk.rb.in ruby-1.5.3/ext/extmk.rb.in
--- ruby-1.5.3.dist/ext/extmk.rb.in	Mon May  1 18:41:34 2000
+++ ruby-1.5.3/ext/extmk.rb.in	Tue May  2 09:50:03 2000
@@ -501,12 +501,7 @@ def extmake(target)
   $objs = nil
+  $libs = "@DLDLIBS@"
   $local_flags = ""
-  case RUBY_PLATFORM
-  when /cygwin|beos|openstep|nextstep|rhapsody|macos|i386-os2_emx/
-    $libs = ""
-  when /mswin32/
+  if /mswin32/ =~ RUBY_PLATFORM
     $LIBEXT = "lib"
-    $libs = ""
     $local_flags = "$(topdir)/rubymw.lib -link /EXPORT:Init_$(TARGET)"
-  else
-    $libs = "-lc"
   end
diff -ru1p ruby-1.5.3.dist/lib/mkmf.rb ruby-1.5.3/lib/mkmf.rb
--- ruby-1.5.3.dist/lib/mkmf.rb	Wed Apr 12 14:06:23 2000
+++ ruby-1.5.3/lib/mkmf.rb	Tue May  2 09:50:03 2000
@@ -462,9 +462,6 @@ $OBJEXT = CONFIG["OBJEXT"]
 $objs = nil
-$libs = "-lc"
+$libs = CONFIG["DLDLIBS"]
 $local_flags = ""
 case RUBY_PLATFORM
-when /cygwin|beos|openstep|nextstep|rhapsody/
-  $libs = ""
 when /mswin32/
-  $libs = ""
   $local_flags = "rubymw.lib -link /LIBPATH:$(topdir) /EXPORT:Init_$(TARGET)"
diff -ru1p ruby-1.5.3.dist/win32/config.status ruby-1.5.3/win32/config.status
--- ruby-1.5.3.dist/win32/config.status	Wed Apr 12 14:06:23 2000
+++ ruby-1.5.3/win32/config.status	Tue May  2 09:50:03 2000
@@ -60,2 +60,3 @@ s%@LIBRUBYARG@%libruby.lib%g
 s%@SOLIBS@%%g
+s%@DLDLIBS@%%g
 s%@arch@%i386-mswin32%g
diff -ru1p ruby-1.5.3.dist/win32/ruby.def ruby-1.5.3/win32/ruby.def
--- ruby-1.5.3.dist/win32/ruby.def	Mon Mar 13 16:18:45 2000
+++ ruby-1.5.3/win32/ruby.def	Tue May  2 09:50:03 2000
@@ -500,2 +500,3 @@ EXPORTS
 	rb_str_to_str
+	rb_str_associate
 	rb_obj_as_string
@@ -510,2 +511,4 @@ EXPORTS
 	rb_str_cat
+	rb_str_cat2
+	rb_str_append
 	rb_str_concat
@@ -570,2 +573,3 @@ EXPORTS
 	rb_const_get_at
+	rb_autoload_load
 	rb_const_get
@@ -573,4 +577,4 @@ EXPORTS
 	rb_mod_const_at
-	rb_mod_constants
 	rb_mod_const_of
+	rb_mod_constants
 	rb_const_defined_at
@@ -579,4 +583,12 @@ EXPORTS
 	rb_const_set
+	rb_const_assign
 	rb_define_const
 	rb_define_global_const
+	rb_cvar_declare
+	rb_cvar_set
+	rb_cvar_get
+	rb_cvar_defined
+	rb_cv_set
+	rb_cv_get
+	rb_define_class_variable
 	rb_iv_get

--
小松克行 / Katsuyuki Komatsu <komatsu@sarion.co.jp>

In This Thread

Prev Next