mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
gcc-2.95.2-7(cygwin) support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9c37527955
commit
78f3616c56
4 changed files with 23 additions and 10 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Wed Jan 31 22:27:29 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: gcc-2.95.2-7(cygwin) support.
|
||||||
|
add -mwin32 if available.
|
||||||
|
|
||||||
|
* cygwin/GNUmakefile: ditto.
|
||||||
|
|
||||||
Tue Jan 23 18:51:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Tue Jan 23 18:51:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* gc.c (rb_gc_call_finalizer_at_exit): should finalize objects in
|
* gc.c (rb_gc_call_finalizer_at_exit): should finalize objects in
|
||||||
|
|
20
configure.in
20
configure.in
|
@ -90,14 +90,20 @@ AC_CHECK_TOOL(AR, ar)
|
||||||
AC_CHECK_PROGS(AR, ar aal, ar)
|
AC_CHECK_PROGS(AR, ar aal, ar)
|
||||||
|
|
||||||
case "$target_os" in
|
case "$target_os" in
|
||||||
cygwin*|mingw*)
|
cygwin*|mingw*)
|
||||||
AC_CHECK_TOOL(NM, nm)
|
AC_CHECK_TOOL(NM, nm)
|
||||||
AC_CHECK_TOOL(DLLWRAP, dllwrap)
|
AC_CHECK_TOOL(DLLWRAP, dllwrap)
|
||||||
AC_CHECK_TOOL(AS, as)
|
AC_CHECK_TOOL(AS, as)
|
||||||
AC_CHECK_TOOL(DLLTOOL, dlltool)
|
AC_CHECK_TOOL(DLLTOOL, dlltool)
|
||||||
AC_CHECK_TOOL(WINDRES, windres)
|
AC_CHECK_TOOL(WINDRES, windres)
|
||||||
;;
|
echo 'main(){}' > conftest.c
|
||||||
|
if $CC -mwin32 -c conftest.c 2> /dev/null; then
|
||||||
|
MWIN32=-mwin32
|
||||||
|
CFLAGS="$CFLAGS $MWIN32"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
AC_SUBST(MWIN32)
|
||||||
|
|
||||||
AC_PROG_LN_S
|
AC_PROG_LN_S
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
|
|
|
@ -21,7 +21,7 @@ $(LIBRUBY_SO): $(RUBYDEF) $(LIBRUBY_SO).res.@OBJEXT@
|
||||||
$(LIBRUBY): $(LIBRUBY_SO)
|
$(LIBRUBY): $(LIBRUBY_SO)
|
||||||
|
|
||||||
%.res.@OBJEXT@: %.rc
|
%.res.@OBJEXT@: %.rc
|
||||||
@WINDRES@ --include-dir . --include-dir $(<D) --include-dir $(srcdir)/win32 $< $@
|
@WINDRES@ --preprocessor '$(CC) -E -xc-header -DRC_INVOKE @MWIN32@' --include-dir . --include-dir $(<D) --include-dir $(srcdir)/win32 $< $@
|
||||||
|
|
||||||
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(LIBRUBY_SO).rc: rbconfig.rb
|
$(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_NAME).rc $(LIBRUBY_SO).rc: rbconfig.rb
|
||||||
@@MINIRUBY@ $(srcdir)/win32/resource.rb \
|
@@MINIRUBY@ $(srcdir)/win32/resource.rb \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define RUBY_VERSION "1.6.2"
|
#define RUBY_VERSION "1.6.2"
|
||||||
#define RUBY_RELEASE_DATE "2001-01-23"
|
#define RUBY_RELEASE_DATE "2001-01-31"
|
||||||
#define RUBY_VERSION_CODE 162
|
#define RUBY_VERSION_CODE 162
|
||||||
#define RUBY_RELEASE_CODE 20010123
|
#define RUBY_RELEASE_CODE 20010131
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue