ocean
b122590f5a
* bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
...
memory manager cannot handle large memory block properly.
ex: 10000.times { "" << "." * 529671; GC.start } # crash
[ruby-dev:28230]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-23 13:46:03 +00:00
akr
04946de81b
* mkconfig.rb: generate RbConfig instead of Config.
...
* instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,
ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,
lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,
lib/webrick/httpservlet/cgihandler.rb,
test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,
test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,
test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,
win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of
Config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 08:34:53 +00:00
nobu
49775b88e9
* configure.in, cygwin/GNUmakefile.in (mingw): use def file to alias
...
symbols. [ruby-dev:27532]
* bcc32/mkexports.rb, win32/mkexports.rb: make aliases in DLL.
* win32/win32.c, win32/win32.h: replace symbols only when RUBY_EXPORT
is defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-05 04:43:46 +00:00
nobu
8a2612b335
* configure.in (RUBY_EXTERN): macro to export symbols in shared
...
library. [ruby-core:05528]
* defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to
configuration pass.
* ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 17:00:03 +00:00
ocean
73f94bb851
* intern.h, struct.c (rb_struct_iv_get): constified.
...
* marshal.c: avoid one VC++6 warning for implicit conversion
from int to char.
* ruby.h: ANSI styled.
* bcc32/Makefile.sub (HAVE_HYPOT): added.
* ext/socket/extconf.rb: BeOS is only one platform should call
closesocket, so check __BEOS__ macro directly. (I was worried
accidently HAVE_CLOSESOCKET is defined on windows again because
it has it)
* ext/socket/{getaddrinfo.c,socket.c}: ditto.
... these are all cosmetic changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-21 06:46:41 +00:00
nobu
a51e80459c
* common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integrated
...
macro definitions.
* bcc32/Makefile.sub: LIBRUBY_SO should use DLDOBJS, not EXTOBJS.
* {win32,wince}/Makefile.sub: separate config.h for compiler versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 15:27:13 +00:00
ocean
5985a2d6c8
fixed command name, and attached link to the gnuwin32 site.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 13:29:08 +00:00
usa
ce8d9b4a0d
* configure.in, {bcc32,win32,wince}/Makefile.sub (HAVE_SNPRINTF,
...
HAVE_VSNPRINTF): use win32/win32.c's implementation instead of
missing/vsnprintf.c's.
* win32/win32.[ch] (rb_w32_snprintf, rb_w32_vsnprintf): reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 01:21:20 +00:00
nobu
9b4ddc1a01
* {bcc32,win32,wince}/Makefile.sub: moved CPPFLAGS only for ruby
...
source to XCFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-25 12:31:21 +00:00
ocean
ec98300405
* bcc32/Makefile.sub: can use single quote character in DESTDIR.
...
[ruby-dev:26205]
* bcc32/Makefile.sub: Dir.glob in 1.9 doesn't treat \ as path separator.
[ruby-dev:26254]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 02:35:35 +00:00
ocean
fecc253a10
* bcc32/Makefile.sub: tds files were not deleted when DESTDIR
...
included '\' path delimiter. [ruby-dev:26193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-21 01:26:02 +00:00
nobu
a3c29ec51a
* win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
...
to get rid of redefinition warnings on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16 13:22:09 +00:00
nobu
2c716f2b47
* ext/extmk.rb: keep srcdir unexpanded.
...
* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary.
fixed: [ruby-core:04932]
* lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make
also INSTALL_PROG and INSTALL_DATA system dependent.
fixed: [ruby-core:04931]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:44:59 +00:00
nobu
dbbfbc5a21
* configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improve
...
C++ support. [ruby-dev:26089]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 21:45:43 +00:00
nobu
514df9097e
* lib/mkmf.rb (create_makefile): support platforms have file separator
...
other than /.
* {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator
of building platform.
* {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 15:08:36 +00:00
nobu
5c6e644196
* Makefile.in, common.mk: miniruby depens on MINIOBJS.
...
* dmydln.c (dln_load): dummy function to raise LoadError.
* cygwin/GNUmakefile.in, {bcc32,win32,wince}/Makefile.sub: miniruby
can't load extensions on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 14:25:34 +00:00
nobu
7f530ef4e1
* {bcc32,win32,wince}/configure.bat, {bcc32,win32,wince}/setup.mak:
...
add extout option.
* bcc32/setup.mak: make configuration variables overridable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 22:28:28 +00:00
ocean
18c5d91bb3
* bcc32/Makefile.sub: quick hack... prepend DESTDIR.
...
still have restriction on DESTDIR ("", "/", "e:")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16 01:40:34 +00:00
nobu
4a4ff7fac1
* common.mk: add {pre,post}-install targets.
...
* instruby.rb (install?): install particular part.
* bcc32/Makefile.sub (post-install-ext): remove debug information
files after installation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-03 09:44:33 +00:00
nobu
a48c63f36b
* {bcc32,win32,wince}/Makefile.sub (config.h): check if affected
...
when makefiles are modified.
* {bcc32,win32,wince}/Makefile.sub (config.status): add variables
for tests.
* win32/ifchange.bat: try to update a file only if modified.
* win32/resource.rb: more descriptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-03 09:38:40 +00:00
nobu
984f9a0df1
* configure.in, lib/mkmf.rb: use simple commands if available.
...
* mkconfig.rb: remove autoconf internal variables from rbconfig.rb.
* lib/mkmf.rb (create_makefile): substitute implicit rules in depend
file.
* {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST):
include $(topdir) and $(hdrdir) to search path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 14:52:59 +00:00
nobu
80f4330973
* bcc32/Makefile.sub (COMMON_LIBS): add libraries included in
...
import32.lib.
* lib/mkmf.rb (create_makefile): restrict prefixing with srcdir to
rule lines, add search path to implicit rules, and set Borland make
special macros for search path.
* win32/win32.c, win32/win32.h (read): aboid a BCC runtime bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:07:24 +00:00
usa
befb362acf
* {bcc32,win32,wince}/setup.mak (-epilogue-): fix bug of previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 08:37:59 +00:00
usa
15de1b79f0
* {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h and
...
config.status to force updating them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 07:30:42 +00:00
usa
d51f21cee0
* bcc32/README.bcc32, win32/README.win32: need bison instead of
...
byacc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 08:33:17 +00:00
usa
0a4e53a5c5
* parse.y: add prototypes for Microsoft compiler.
...
* ext/ripper/depend (parse.obj): lex.c exists at hdrdir.
* {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c):
use bison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-17 11:38:49 +00:00
ocean
6302bcf022
* bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.
...
(need to rebuild all) [ruby-dev:24138]
* win32/win32.{h,c}: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-10 10:24:08 +00:00
usa
f4d60b5f63
* {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
...
* win32/win32.[ch] (fcntl): ditto.
* win32/win32.c (rb_w32_connect): support nonblocking mode.
* ext/socket/socket.c (wait_connectable, ruby_connect): support
nonblocking connect on various platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-07 03:52:15 +00:00
usa
9effc74508
* {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
...
including version.h. [ruby-talk:104456]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 17:02:11 +00:00
usa
8d9587fb81
* */Makefile.sub (distclean-local): should remove $(RBCONFIG).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-22 01:08:23 +00:00
nobu
e022b74520
* bcc32/Makefile.sub (PHONY): Borland make disallows empty command
...
rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13 12:51:01 +00:00
nobu
43db576e61
* Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
...
doesn't work for object files on VC.
* */Makefile.sub (config.h): need SIZEOF_TIME_T now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 01:43:27 +00:00
nobu
6ebad07ea1
* bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 10:28:53 +00:00
nobu
3b79d34d99
* common.mk, */Makefile.sub (lib, dll): phony targets.
...
* configure.in (ruby, miniruby): ditto.
* cygwin/GNUmakefile.in (rubyw): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 05:01:15 +00:00
nobu
9356e8d177
* bcc32/Makefile.sub: needs bcc32/mkexports.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:46:14 +00:00
nobu
52a67fe60d
* Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
...
separate files under directories due to directory separator.
* */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
removed.
* win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
rules.
* cygwin/GNUmakefile.in: some mingw stuffs were missed.
* lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
from command lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:32:01 +00:00
nobu
71f46f0724
* Makefile.in, */Makefile.sub, common.mk: extract common portions.
...
* Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
separated time stamp file for rbconfig.rb.
* configure.in: append common.mk to Makefile.
* mkconfig.rb: keep mtime of rbconfig.rb if unchanged.
* win32/rm.bat: remove multiple files.
* wince/mkconfig_wce.rb: use fake.rb instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 23:21:31 +00:00
usa
f2b4e71013
* ruby.c (opt_W_getter): get rid of warning.
...
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
fixed dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 01:17:12 +00:00
usa
8829aa4995
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
...
replaced regex.c entry with Oniguruma files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-09 01:05:12 +00:00
nobu
f9da3539ed
* Makefile.in, */Makefile.sub, mkconfig.rb: keep rbconfig.rb old if
...
unchanged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 13:50:48 +00:00
ocean
ed694e74ff
* bcc32/setup.mak: configure's default is "--enable-install-doc"
...
* win32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 10:56:26 +00:00
ocean
8a5dba33b2
* bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,
...
bcc32/setup.mak: new configure scheme. use ``configure --prefix=dir''
instead of ``make DESTDIR=dir install''.
--with-static-linked-ext support on mswin32. [ruby-dev:23034]
(by Nakada. Thanks.)
* bcc32/setup.mak: "configure --disable-install-doc" is now working.
* win32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 08:22:48 +00:00
ocean
e5670724c5
* bcc32/configure.bat: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:21:20 +00:00
ocean
cbd201f13d
* configure.bat: append missing label ":exit".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:11:44 +00:00
nobu
d65d5e7661
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 05:44:35 +00:00
nobu
883857d842
* ext/extmk.rb: use optparse instead of getopts.
...
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 03:58:44 +00:00
ocean
142b1b9503
* bcc32/Makefile.sub: show more warnings. (refering to mingw)
...
* bcc32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 11:31:30 +00:00
ocean
1b529182e1
* bcc32/Makefile.sub: should warn suspicious pointer conversion.
...
* bcc32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 17:20:17 +00:00
nobu
2549889663
* mkconfig.rb: use fileutils.rb instead of ftools.rb.
...
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): define
STACK_GROW_DIRECTION.
* bcc32/Makefile.sub (config.h): add newer checks.
* wince/Makefile.sub (config.h): define NEED_IO_SEEK_BETWEEN_RW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 14:59:19 +00:00
usa
d255aa7b69
* string.c (rb_str_match): raise TypeError when both arguments are
...
strings. [ruby-dev:22851]
* string.c (rb_str_match2): removed.
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
wince/Makefile.sub (string.c): now not depend on version.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-10 05:36:34 +00:00