summaryrefslogtreecommitdiffstats
path: root/bcc32
Commit message (Collapse)AuthorAgeFilesLines
* * {bcc32,win32,wince}/{Makefile.sub,setup.mak}: leave prefix empty innobu2005-04-023-6/+11
| | | | | | | config.status for backward compatibility. fixed: [ruby-core:04649] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,nobu2005-03-302-234/+182
| | | | | | | | common.mk, configure.in, ext/extmk.rb, lib/mkmf.rb, instruby.rb, runruby.rb: backport extout. [ruby-dev:25963] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.usa2005-02-211-0/+1
| | | | | | | | | | | | | | * 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. all changes are backported from CVS HEAD. [ruby-core:3154], [ruby-core:4364]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: bcc32 should use RTL dll (backport from HEAD)ocean2004-12-241-2/+2
| | | | | | | | | [ruby-dev:25306] * win32/win32.[ch]: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub (test): should build ruby.exeusa2004-11-171-1/+1
| | | | | | | before running test. [ruby-core:03756] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/setup.mak (-epilogue-): fix bug of previous commit.usa2004-11-161-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h andusa2004-11-161-0/+1
| | | | | | | config.status to force updating them. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_match): raise TypeError when both arguments areusa2004-07-071-1/+1
| | | | | | | | | | | | strings. [ruby-dev:22869] (backported from HEAD) * 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines whenusa2004-06-241-1/+1
| | | | | | | including version.h. [ruby-talk:104456] (backported from HEAD) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in */Makefile.sub: error.c no longer include version.hnobu2004-04-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: backport SIZEOF_TIME_T definition from 1.9.ocean2004-04-121-0/+1
| | | | | | | | | * win32/Makefile.sub: ditto. * wince/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: backport from 1.9 - configure. (Thanks Nakada)ocean2004-02-161-52/+39
| | | | | | | | | [ruby-dev:22910] * win32/Makefile.sub: ditto. * wince/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: avoid warning "Redefinition of macro 'HAVE_GETLOGIN'".ocean2004-02-161-1/+1
| | | | | | | * vms/config.h_in: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5733 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5728 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with singlenobu2004-01-121-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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]usa2003-12-231-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@4879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 031031matz2003-10-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@4353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: undefine HAVE_GETGROUPS.eban2003-06-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (LIBRUBY_A): link dmyext.nobu2003-01-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir fromnobu2002-12-271-4/+5
| | | | | | | CPP input or UNC path will be removed as a comment. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak (-generic-): removed garbages.nobu2002-12-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub (RUBY_SO_NAME, config.h):usa2002-12-252-9/+16
| | | | | | | | | | | | | | use $(MAJOR) and $(MINOR). based on Nobu's patch. [ruby-win32:413] * bcc32/setup.mak, win32/setup.mak (-prologue-): define MAJOR, MINOR and TEENY from version.h. based on Nobu's patch. [ruby-win32:413] * win32/Makefile.sub (config.h): add HAVE_FLOAT_H. * win32/Makefile.sub (parse.obj): depend on win32/win32.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, defines.h, dir.c, dir.h, dln.c, error.c,uema22002-12-151-1/+1
| | | | | | | | | | | | | | | eval.c, file.c, hash.c, io.c, main.c, missing.c, process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h, bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h, ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c, ext/socket/getnameinfo.c, ext/socket/socket.c, ext/tcltklib/stubs.c : replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER * wince/exe.mak : delete \r at the end of lines. * wince/mswince-ruby17.def : delete rb_obj_become git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689]nobu2002-11-141-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): linker argument to link static/shared library respectively. * Makefile.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): added. * bcc32/Makefile.sub, win32/Makefile.sub: ditto. * instruby.rb (LIBRUBY_A): install to libdir. * lib/mkmf.rb (link_command): link static library of ruby, or try_run fails unless LIBRUBY_SO is installed. [ruby-dev:18646] * eval.c (call_trace_func): toplevel caller was missing. [ruby-dev:18754] * eval.c (proc_to_s): adjust created line number. * parse.y (primary, do_block, brace_block): adjust line number of block to beginning line, instead of the first statement inside the block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, ext/extmk.rb, bcc32/Makefile.sub,knu2002-11-031-5/+5
| | | | | | | | | | | | win32/Makefile.sub: Introduce better command line syntax (--make/--make-flags/--extstatic) to extmk.rb and instruby.rb. Previously such command as 'make -j3 install' with pmake doesn't fail. Formerly extmk.rb was receiving "make -j 3 -j 3" via the command line arguments and just ended up recognizing the first "3" as destdir. [with help of usa] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (.rc.res): directory part may be empty in Borland make.nobu2002-10-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *bcc32/configure.bat : The command line when calling setup.mak is corrected.H_Konishi2002-10-222-7/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e