nobu
65937b5eb9
* ruby.h, lib/mkmf.rb (create_header): clear command line options for
...
macros moved to extconf.h.
* ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and
EXTSTATIC permanent.
* ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS.
* {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added
$(INCFLAGS).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-25 23:44:08 +00:00
ocean
c31dcc79b5
* bcc32/Makefile.sub (HAVE_HYPOT): bcc32 has hypot().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-24 02:37:59 +00:00
ocean
5ced09a22a
* 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/branches/ruby_1_8@9987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-23 13:46:03 +00:00
nobu
17f022491a
* 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/branches/ruby_1_8@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 17:00:03 +00:00
ocean
78604644e2
* bcc32/Makefile.sub (COMMON_HEADERS): reverted 1.42.2.24.
...
I misunderstood, bccwin32 on ruby_1_8 uses winsock2 originally.
[ruby-dev:26806]
* win32/win32.h: include winsock2.h instead of winsock.h. (bcc32)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-18 03:50:47 +00:00
nobu
e869ff20a3
* 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/branches/ruby_1_8@8902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 15:27:13 +00:00
ocean
fda231fe22
fixed command name, and attached link to the gnuwin32 site.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 13:29:08 +00:00
nobu
983c7c74ee
* {bcc32,win32,wince}/Makefile.sub: moved CPPFLAGS only for ruby
...
source to XCFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-25 12:31:21 +00:00
ocean
dfd99a5782
* bcc32/Makefile.sub (COMMON_HEADERS): ruby_1_8 is using winsock.h.
...
failed to compile ext/socket on bcc5.6.4. [ruby-dev:26193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-15 09:12:53 +00:00
ocean
408e222a46
* bcc32/Makefile.sub: can use single quote character in DESTDIR.
...
[ruby-dev:26205]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-01 02:36:17 +00:00
ocean
06b7b801ff
* 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/branches/ruby_1_8@8493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-21 01:26:02 +00:00
nobu
73cc4a2cd7
* 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/branches/ruby_1_8@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16 13:22:09 +00:00
nobu
96afcf2b07
* 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/branches/ruby_1_8@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:44:59 +00:00
nobu
38c9bb1ae1
* 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/branches/ruby_1_8@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 15:08:36 +00:00
nobu
70779bf224
* 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/branches/ruby_1_8@8364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 14:25:34 +00:00
nobu
ddda8205c2
* {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/branches/ruby_1_8@8358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 22:28:28 +00:00
ocean
1598a5a137
* bcc32/Makefile.sub: quick hack... prepend DESTDIR.
...
still have restriction on DESTDIR ("", "/", "e:")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16 01:40:34 +00:00
ocean
9f3c5e76d0
* bcc32/Makefile.sub: failed to remove debug information files.
...
fixed: [ruby-dev:26034] (written by nobu)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-14 08:02:03 +00:00
ocean
0fc986008e
* {bcc32,win32,wince}/Makefile.sub: ri data was not installed
...
into correct path. [ruby-dev:26011]
* bcc32/Makefile.sub: defaulted install-nodoc. [ruby-dev:26011]
* dir.c: rdoc fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 03:20:17 +00:00
nobu
d338ca56f5
* {bcc32,win32,wince}/{Makefile.sub,setup.mak}: leave prefix empty in
...
config.status for backward compatibility. fixed: [ruby-core:04649]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-02 13:35:31 +00:00
nobu
162b040611
* Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
...
common.mk, configure.in, ext/extmk.rb, lib/mkmf.rb, instruby.rb,
runruby.rb: backport extout. [ruby-dev:25963]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 14:45:05 +00:00
usa
5fec853229
* {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.
all changes are backported from CVS HEAD. [ruby-core:3154],
[ruby-core:4364].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-21 01:08:56 +00:00
ocean
f4960beffe
* bcc32/Makefile.sub: bcc32 should use RTL dll (backport from HEAD)
...
[ruby-dev:25306]
* win32/win32.[ch]: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 14:52:25 +00:00
usa
7ce7c614c5
* {bcc32,win32,wince}/Makefile.sub (test): should build ruby.exe
...
before running test. [ruby-core:03756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 04:11:22 +00:00
usa
f556628264
* {bcc32,win32,wince}/setup.mak (-epilogue-): fix bug of previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 08:37:59 +00:00
usa
78bb93ac08
* {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/branches/ruby_1_8@7282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 07:30:42 +00:00
usa
b97aa9b90e
* string.c (rb_str_match): raise TypeError when both arguments are
...
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-07 06:54:40 +00:00
usa
4211b12902
* {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
...
including version.h. [ruby-talk:104456] (backported from HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 17:04:58 +00:00
nobu
640e6a2f0a
* Makefile.in */Makefile.sub: error.c no longer include version.h
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-24 05:50:04 +00:00
ocean
3463a11129
* bcc32/Makefile.sub: backport SIZEOF_TIME_T definition from 1.9.
...
* win32/Makefile.sub: ditto.
* wince/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 01:30:15 +00:00
ocean
a08492a0fc
* bcc32/Makefile.sub: backport from 1.9 - configure. (Thanks Nakada)
...
[ruby-dev:22910]
* win32/Makefile.sub: ditto.
* wince/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 16:27:39 +00:00
ocean
03d9b5c8c2
* bcc32/Makefile.sub: avoid warning "Redefinition of macro 'HAVE_GETLOGIN'".
...
* vms/config.h_in: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 15:18:08 +00:00
ocean
98d76e450a
* bcc32/Makefile.sub: show more warnings. (refering to mingw)
...
* bcc32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 11:44:23 +00:00
ocean
d8099eefc8
* bcc32/Makefile.sub: should warn suspicious pointer conversion.
...
* bcc32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 17:20:17 +00:00
nobu
9ac4ebbf21
* configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single
...
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/branches/ruby_1_8@5442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 02:46:40 +00:00
usa
d5ae9837ff
* bcc32/Makefile.sub (config.h): bcc has finite(). [ruby-list:38940]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 08:29:54 +00:00
usa
d0133e413d
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): remove
...
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
2003-12-22 09:26:24 +00:00
usa
d8d81b35a4
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(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
2003-12-01 00:30:37 +00:00
usa
1b6755193b
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(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
2003-11-24 05:54:05 +00:00
usa
dbd254d4f4
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(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
2003-11-22 08:38:07 +00:00
usa
81160e93c9
* string.c: add #include "version.h". this file still depends on it.
...
* 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
2003-11-05 02:15:27 +00:00
usa
667bdeb072
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
...
remove needless version.h dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-04 14:45:23 +00:00
eban
0dfe20d3d4
* configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD. [ruby-dev:21791]
...
* 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
2003-10-31 03:58:21 +00:00
matz
394738639e
031031
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 16:33:32 +00:00
eban
57606ec408
* MANIFEST: add test/csv/mac.csv.
...
* 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
2003-09-16 07:50:00 +00:00
nobu
8695612caf
* marshal.c (w_symbol, w_object): get rid of warnings.
...
* 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
2003-08-16 14:58:34 +00:00
eban
25358510af
* bcc32/Makefile.sub: rubyw.exe should be a Windows GUI program.
...
add the -aa option to WLDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-08 03:35:46 +00:00
eban
5fb3efb267
* bcc32/Makefile.sub: undefine HAVE_GETGROUPS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-16 05:44:22 +00:00
usa
b1937a53e6
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(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
2003-06-05 09:38:01 +00:00
nobu
a4d277f554
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
...
wince/Makefile.sub: update dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-21 11:51:56 +00:00