summaryrefslogtreecommitdiff
path: root/cygwin
Commit message (Collapse)AuthorAgeFilesLines
* Fix parallel build on MINGWLars Kanis2022-09-101-2/+2
| | | | | | | | | | | | | | | | | When the build is running with a base ruby then generating `x64-ucrt-ruby320.rc` could fail due to a missing dependency to `x64-mingw-ucrt-fake.rb`. This commit adds this dependency. A failing build looks like so: ``` generating x64-mingw-ucrt-fake.rb generating x64-ucrt-ruby320.rc ../snapshot-master/win32/resource.rb:in `require': cannot load such file -- ./x64-mingw-ucrt-fake (LoadError) make: *** [GNUmakefile:57: x64-ucrt-ruby320.rc] Error 1 make: *** Waiting for unfinished jobs.... linking miniruby.exe x64-mingw-ucrt-fake.rb updated ```
* Make sources by BASERUBY if available instead of minirubyNobuyoshi Nakada2022-09-031-2/+2
|
* Reuse macros defined in Makefile.inNobuyoshi Nakada2022-09-031-11/+10
|
* Suppress msys2 pathname conversion also at single test runs [ci skip]Nobuyoshi Nakada2022-07-061-0/+1
|
* Suppress maybe-uninitialized warning on mingwNobuyoshi Nakada2021-10-021-0/+3
| | | | | | The compilation time pragma seems not applied to inline functions expanded by the link time optimization. The local variable `mi` in thread_win32.c:native_thread_init_stack is warned.
* Share variables defined in common GNUmakefile also in cygwin/mingwNobuyoshi Nakada2021-03-211-3/+1
|
* Fix for windres 2.36 [Bug #17602]Nobuyoshi Nakada2021-02-011-1/+4
| | | | | | Add --preprocessor and --preprocessor-arg for each preprocessor command arguments, as windres 2.36 requires preprocessor name and arguments to be separated to respect spaces in these paths.
* Merged recipes for the same targetNobuyoshi Nakada2020-05-271-2/+0
|
* Removed obsolete forwarding DLL recipeNobuyoshi Nakada2020-05-271-6/+0
| | | | | | | | | | | | | | | | | | It has never been created by default, and no reason to keep binary compatibility against extension libraries for ruby 1.8. 1. `LIBRUBY_SO` on Cygwin was named originally. - 94089e82a12:: `$(RUBY_INSTALL_NAME)-cygwin.dll` - f0ba57341ac:: `$(RUBY_INSTALL_NAME).cygwin.dll` - c74a3b21f59:: `cygwin-$(RUBY_INSTALL_NAME)-$(MAJOR).$(MINOR).dll` 2. And then renamed to be net distribution compliant. - 6f059f33ef1:: `cyg$(RUBY_SO_NAME)$(MAJOR)$(MINOR).dll` 3. Next at 430eabfe139, forwarding DLL was added for binary compatibility against extension libraries.
* Set `gnumake` in GNUmakefile for cygwinNobuyoshi Nakada2020-03-291-0/+2
| | | | | It was moved from defs/gmake.mk at 88f4ebac83a, for use in dependency rule lines.
* MFLAGS for nmakenobu2017-02-101-2/+0
| | | | | | | | | | | | * common.mk (mflags): pass make flags to sub-makes, for nmake which cannot pass them by the environment variable. * defs/gmake.mk (mflags): filter out -j option for sub-makes. * template/exts.mk.tmpl (MFLAGS): extract MFLAGS from sub extmk files for nmake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Keep -jN optionnobu2017-01-201-2/+2
| | | | | | | * {cygwin,template}/GNUmakefile.in (MFLAGS, MAKEFLAGS): keep -jN option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rubystubnobu2016-08-201-16/+1
| | | | | | * rubystub.c: generalize win32/stub.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r55968 "scriptbin on cygwin"nobu2016-08-191-14/+3
| | | | | | | win32/stub.c only works with malloced argv as win32/win32.c, to realloc it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* scriptbin on cygwinnobu2016-08-191-3/+14
| | | | | | * cygwin/GNUmakefile.in (scriptbin): enable on cygwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* strip stub programnobu2016-08-191-0/+2
| | | | | | * cygwin/GNUmakefile.in (STUBPROGRAM): strip. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove -jN optionnobu2016-06-261-0/+1
| | | | | | | * {cygwin,template}/GNUmakefile.in (MAKEFLAGS): remove -jN option from MAKEFLAGS as well as MFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update cygwin/GNUmakefile.innobu2016-06-201-0/+3
| | | | | | | * cygwin/GNUmakefile.in: remove -jN option from submake, and include defs/gmake.mk to serialize test targets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* GNUmakefile.in: fix MSYS2_ARG_CONV_EXCLnobu2016-03-231-4/+4
| | | | | | | | | | | * cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL_PARAM): * add missing parentheses and remove double quotes. * rename to get rid of recursive references. * as --excludes-dir option is for a path name, its argument should be converted. [ruby-dev:49526] [Bug #12199] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* suppress msys2 pathname conversionnobu2016-03-211-0/+7
| | | | | | | | | * common.mk (TEST_EXCLUDES, EXCLUDE_TESTFRAMEWORK): use full spell long option. * cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL): suppress path name conversions by msys2. [ruby-dev:49525] [Bug #12199] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rc files conflict in parallel buildnobu2016-01-091-2/+2
| | | | | | | * cygwin/GNUmakefile.in (%.rc): generate .rc files separately to get rid of conflict in parallel build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix library teenynobu2016-01-091-1/+1
| | | | | | | * configure.in, win32/Makefile.sub: fix teeny of library version to 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: fake lchownnobu2015-08-261-0/+1
| | | | | | * win32/win32.c (lchown, rb_w32_ulchown): fake lchown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stub.o: under win32nobu2015-04-041-2/+2
| | | | | | | * cygwin/GNUmakefile.in, win32/Makefile.sub (stub.o): make under win32 directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* GNUmakefile.in: fix dependencynobu2015-03-081-1/+1
| | | | | | | * cygwin/GNUmakefile.in: fix dependency, win32.o should be under win32 directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* GNUmakefile.in: append resources alwaysnobu2014-12-281-1/+1
| | | | | | | * cygwin/GNUmakefile.in (EXTOBJS): override to add resource files always. [ruby-core:67153] [Bug #10657] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (uncommon.mk): link *.res.o.shirosaki2012-11-051-2/+3
| | | | | | | | EXTOBJES is defined in uncommon.mk. *.res.o setting should be below uncommon.mk. [ruby-core:48858] [Bug #7277] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extmk.rb: fix mingw make failure with make -jNshirosaki2012-10-171-1/+2
| | | | | | | | | | | | | | | * common.mk (WPROGRAM): need same dependencies as PROGRAM. * cygwin/GNUmakefile.in (uncommon.mk): move include position below WPROGRAM definition to be defined in uncommon.mk. * ext/extmk.rb (all, static): fix make rubyw.exe failure with make -jN. If make of ruby.exe and rubyw.exe run in parallel, link dll and link exe run in parallel, which causes link failure on mingw. To fix this, we make ruby.exe and rubyw.exe in one make process. [ruby-core:48007] [Bug #7165] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (SCRIPTPROGRAMS): ignore backup files and etc.nobu2010-12-101-1/+3
| | | | | | * cygwin/GNUmakefile.in (scriptbin): set executable bit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in, win32/Makefile.sub (clean): rc files arenobu2010-11-191-2/+0
| | | | | | | made at compile time, so should be removed by clean. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (SCRIPTPROGRAMS): no needs on cygwin.nobu2010-11-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, cygwin/GNUmakefile.in, enc/depend,nobu2010-11-121-18/+9
| | | | | | ext/ripper/depend, lib/mkmf.rb, win32/Makefile.sub: caddle up. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in: shorten messages.nobu2010-11-111-1/+18
| | | | | | | * Makefile.in (install-cross, ext/extinit.o): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (SYMBOL_PREFIX): separate from EXPORT_PREFIX.nobu2010-11-111-1/+1
| | | | | | * win32/mkexports.rb (Exports#each_export): use SYMBOL_PREFIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (scriptbin): make executable file fromnobu2010-11-091-0/+11
| | | | | | | | | | | | | scripts with stub. * ruby.c (load_file_internal): assume xflag for exe file as well as no-shebang file. * tool/rbinstall.rb: install script programs. * win32/mkexports.rb (Exports#initialize): alias ruby_sysinit for stub. * win32/stub.c: stub for scripts. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (CPP): already used in .c.i rule.nobu2010-10-161-2/+3
| | | | | | | * cygwin/GNUmakefile.in (DLLWRAP, WINDRES): add --driver-name and --preprocessor options explicitly. [ruby-core:32776] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29425 ↵nobu2010-10-081-1/+1
| | | | b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in, win32/Makefile.sub (RCFILES): depend onnobu2010-10-071-1/+1
| | | | | | | | real config.rb file. [ruby-core:32709] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.nobu2009-02-021-7/+1
| | | | | | | * win32/mkexports.rb (Exports::Cygwin): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (dir.o, win32.o): depend on win32/dir.h.nobu2009-02-021-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): depends on makefiles.nobu2009-01-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbolsnobu2009-01-301-1/+1
| | | | | | | which is not marked as T. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): needs DATA marks to exportnobu2009-01-271-1/+1
| | | | | | | | | non-function symbols. [ruby-core:21582] * win32/mkexports.rb (Exports::Mingw#each_export): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): needs read-only section too.nobu2009-01-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (miniruby): renames and then removes, to get rid ofnobu2009-01-201-8/+11
| | | | | | | | | | | | | | | | | EPERM on cygwin and mingw. * Makefile.in ($(LIBRUBY_SO)): use wildcard option of objcopy. * configure.in (DLDFLAGS): do not export all symbols. * cygwin/GNUmakefile.in (RUBYDEF): rejects symbols prefixex with Init_. * win32/mkexports.rb (Exports::Mingw): includes all symbols except for prefixed with Init_ as well as mswin32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rbnobu2008-12-221-1/+1
| | | | | | | (Exports#exports): added VERSION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ID_H_TARGET): phony target to update id.h.nobu2008-10-171-1/+1
| | | | | | | | | | | | * tool/ifchange, win32/ifchange.bat: --timestamp option added. * tool/generic_erb.rb: --timestamp, --output and --if-change options added. * template/id.h.tmpl: moved from id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (uncommon.mk): ignores failures at loading.nobu2008-10-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (gnumake): check for GNU make.nobu2008-08-141-0/+1
| | | | | | | * Makefile.in (uncommon.mk): includes filtered common.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (clean-local): should be double-colon.nobu2008-02-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e