aboutsummaryrefslogtreecommitdiffstats
path: root/bcc32
Commit message (Collapse)AuthorAgeFilesLines
...
* * bcc32/Makefile.sub (PHONY): Borland make disallows empty commandnobu2004-04-131-0/+2
| | | | | | | rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAGnobu2004-04-071-0/+4
| | | | | | | | | 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
* * bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.nobu2004-04-021-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, */Makefile.sub (lib, dll): phony targets.nobu2004-03-251-4/+2
| | | | | | | | | * 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
* * bcc32/Makefile.sub: needs bcc32/mkexports.rb.nobu2004-03-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):nobu2004-03-231-4/+12
| | | | | | | | | | | | | | | | | | 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
* * Makefile.in, */Makefile.sub, common.mk: extract common portions.nobu2004-03-211-269/+88
| | | | | | | | | | | | | | | | * 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
* * ruby.c (opt_W_getter): get rid of warning.usa2004-03-101-6/+6
| | | | | | | | * 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
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:usa2004-03-091-3/+21
| | | | | | | replaced regex.c entry with Oniguruma files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, mkconfig.rb: keep rbconfig.rb old ifnobu2004-03-041-5/+7
| | | | | | | unchanged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak: configure's default is "--enable-install-doc"ocean2004-03-011-0/+2
| | | | | | | * win32/setup.mak: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,ocean2004-02-294-23/+39
| | | | | | | | | | | | | | 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
* * bcc32/configure.bat: fix typo.ocean2004-02-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.bat: append missing label ":exit".ocean2004-02-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.nobu2004-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: use optparse instead of getopts.nobu2004-02-221-1/+1
| | | | | | | * 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
* * bcc32/Makefile.sub: show more warnings. (refering to mingw)ocean2004-02-162-2/+2
| | | | | | | * bcc32/setup.mak: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: should warn suspicious pointer conversion.ocean2004-02-152-2/+2
| | | | | | | * bcc32/setup.mak: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: use fileutils.rb instead of ftools.rb.nobu2004-02-141-52/+38
| | | | | | | | | | | | * 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
* * string.c (rb_str_match): raise TypeError when both arguments areusa2004-02-101-1/+1
| | | | | | | | | | | | 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
* * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,nobu2004-02-092-12/+97
| | | | | | | | | | | | | | | | | | | | | | runruby.rb: run rdoc, test and so on with compiled extension libraries. [ruby-dev:22688] * ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated directory, similar to the actual directory structure. * lib/fileutils.rb (FileUtils.copy_file): use the mode of the original file to create new file. * lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected influence by envirionment variable. * bcc32/configure.bat, win32/configure.bat: add install-doc options. * win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime bug which returns wrong mode. [ruby-dev:22846] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DLEXT2): removed. Ruby does not treateban2004-01-291-2/+0
| | | | | | | | | | ".dll" as a extention library anymore. * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (DLEXT2): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check availability of link(). [ruby-dev:22237]siena2004-01-211-0/+1
| | | | | | | | | | * file.c (rb_file_s_link): raise an exception when link() is unavailable. * missing/os2.c (link): removed. File#link isn't supported. * bcc32/Makefile.sub: define HAVE_LINK to enable link(). [ruby-dev:22241] * win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with singlenobu2004-01-101-2/+2
| | | | | | | | | | | quotes. [ruby-dev:22564] * lib/mkmf.rb (libpathflag): do not enclose with quotes always. * {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]usa2003-12-231-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub (config.h): removeusa2003-12-221-1/+0
| | | | | | | | HAVE_ISINF definition to follow previous commits of missing.h and win32/win32.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-12-011-1/+2
| | | | | | | | | | (XCFLAGS): re-export $(XCFLAGS). * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-11-241-1/+1
| | | | | | | (XCFLAGS): output empty value instead of `-DRUBY_EXPORT'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-11-221-0/+2
| | | | | | | | | | (HAVE_GETCWD): output to config.h. * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub (XCFLAGS): output to config.status. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c: add #include "version.h". this file still depends on it.usa2003-11-051-1/+1
| | | | | | | | * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub: add version.h dependency to string.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:usa2003-11-041-3/+3
| | | | | | | remove needless version.h dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD. [ruby-dev:21791]eban2003-10-311-0/+1
| | | | | | | * bcc32/Makefile.sub, win32/Makefile.sub, win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 031031matz2003-10-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test/csv/mac.csv.eban2003-09-161-1/+1
| | | | | | | * win32/Makefile.sub, bcc32/Makefile.sub (test): add phony NUL target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_symbol, w_object): get rid of warnings.nobu2003-08-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | * re.c (rb_memsearch): ditto. * time.c (time_dump): ditto. * ext/extmk.rb (extmake): not continue making when extconf.rb failed. * ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely. * ext/openssl/ossl.h: remove version.h dependency. * ext/openssl/ruby_missing.h: ditto. * lib/mkmf.rb (pkg_config): use --libs output except with only-L for other options. [ruby-list:38099] * lib/mkmf.rb (create_makefile): separate rule for static library from shared object. * win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub: define exec_prefix and libdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: rubyw.exe should be a Windows GUI program.eban2003-08-081-1/+1
| | | | | | | add the -aa option to WLDFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: undefine HAVE_GETGROUPS.eban2003-06-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-06-051-2/+3
| | | | | | | | | | | (MISSING): link with missing/erf.c. * missing.h (erf, erfc): fix prototype. * missing/erf.c: new. [ruby-list:37753] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,nobu2003-05-211-39/+38
| | | | | | | wince/Makefile.sub: update dependencies. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: defineusa2003-05-131-0/+1
| | | | | | | | HAVE_FSYNC. * win32/win32.h (fsync): define as _commit(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_is_finite_p): use finite() if available.nobu2003-04-211-3/+2
| | | | | | | | | | | * win32/win32.h (isinf, isnan): define as macro. [ruby-win32:00533] * bcc32/Makefile.sub, win32/Makefile.sub: no longer use missing/isinf.c, missing/isnan.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtInitialize): set the floating-point control wordeban2003-04-201-2/+1
| | | | | | | | | | on bcc32. * win32/win32.h, bcc32/Makefile.sub: use missing/isinf.c, should not use _finite() because it returns 0 if NaN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: definenobu2003-03-041-2/+2
| | | | | | | | | | | | | RUBY_EXPORT to export symbols. * defines.h: use RUBY_EXTERN instead of EXTERN. * intern.h, re.h, ruby.h, rubysig.h: ditto. * win32/win32.h: remove EXTERN definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub,knu2003-01-251-7/+12
| | | | | | | | | | | | bcc32/Makefile.sub: Replace the complicated MFLAGS/MAKEFLAGS parser with something plain and comprehensible. This fixes a bug where make flags were wrongly reordered and the resulted command line often did not make sense especially when BSD make is used with extra arguments given. Tested with FreeBSD and Linux by me and mswin32, bccwin32 and mingw by usa. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (LIBRUBY_A): link dmyext.nobu2003-01-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_IO_NEED): check whether fseek() andnobu2003-01-091-0/+1
| | | | | | | | | | | | | | | | | | fflush() are needed. * io.c (flush_before_seek): flush write stream only. * io.c (rb_io_check_readable): seek instead of flush if the last operation was write. * io.c (rb_io_check_writable): seek instead of flush if the last operation was read. * bcc32/Makefile.sub, win32/Makefile.sub: needs to seek between R/W. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath): under Windows, get the modulenobu2003-01-051-2/+2
| | | | | | | | | | | | | | path from an internal address instead of hard coded library name. * cygwin/GNUmakefile.in, bcc32/Makefile.sub, win32/Makefile.sub (CPPFLAGS): removed LIBRUBY_SO macro. * bcc32/Makefile.sub, win32/Makefile.sub (config.h): no longer depends on makefiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, {win32,bcc32}/Makefile.sub: add new target:eban2002-12-311-1/+5
| | | | | | | | | | | | | | | what-where, no-install. * mkconfig.rb: add const: CROSS_COMPILING. * ext/extmk.rb: no-install support. add MAKEDIRS macro. * lib/mkmf.rb: add !ifdef .. !endif for Borland make. * process.c: improve DJGPP support. system "ls", "-l". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: split --make argument contains options, assumenobu2002-12-301-5/+5
| | | | | | | | | | | | | | the first word of --make-flags is always options even unless preceeded by -, and ignore letter-case of options if nmake. * instruby.rb: extract -n option also from --make and --make-flags. * bcc32/Makefile.sub, win32/Makefile.sub: not prepend - to $(MFLAGS) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options.eban2002-12-271-5/+5
| | | | | | | | | | nmake quotes args if included `=' in args. * instruby.rb: use getopts.rb. * ext/dbm/extconf.rb: substitute ' with ". * ext/gdbm/gdbm.c: add prototypes to avoid VC++ warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e