Issue #7277 has been reported by luislavena (Luis Lavena). ---------------------------------------- Bug #7277: mingw: Makefile no longer links ruby.res.o with PROGRAM or WPROGRAM https://bugs.ruby-lang.org/issues/7277 Author: luislavena (Luis Lavena) Status: Assigned Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: build Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-11-01) [x64-mingw32] =begin Just recently noticed that when linking ruby.exe or rubyw.exe, the icon defined in ruby.rc (or rubyw.rc) is not linked in. The following is the command line make ruby.exe V=1 generates: x86_64-w64-mingw32-gcc -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -L. -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/tk/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/tcl/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/zlib/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/libyaml/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/pdcurses/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/openssl/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/iconv/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/gdbm/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/libffi/lib -Wl,--stack,0x00200000,--enable-auto-import main.o -lx64-msvcrt-ruby200 -lshell32 -lws2_32 -limagehlp -lshlwapi -o ruby.exe However is not linking ruby.res.o with it. This seems to be unique to trunk as ruby_1_9_3 still was able to associate the icon with the executable. Also this didn't affect DLL creation, as it still included the rc information for it (it linked properly) Any ideas? Thank you =end
[ruby-trunk - Bug #7277][Assigned] mingw: Makefile no longer links ruby.res.o with PROGRAM or WPROGR
on 2012-11-04 20:21
on 2012-11-05 15:05
Issue #7277 has been updated by h.shirosaki (Hiroshi Shirosaki). Luis, I fixed at r37475. Please check it. ---------------------------------------- Bug #7277: mingw: Makefile no longer links ruby.res.o with PROGRAM or WPROGRAM https://bugs.ruby-lang.org/issues/7277#change-32430 Author: luislavena (Luis Lavena) Status: Closed Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: build Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-11-01) [x64-mingw32] =begin Just recently noticed that when linking ruby.exe or rubyw.exe, the icon defined in ruby.rc (or rubyw.rc) is not linked in. The following is the command line make ruby.exe V=1 generates: x86_64-w64-mingw32-gcc -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -L. -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/tk/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/tcl/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/zlib/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/libyaml/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/pdcurses/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/openssl/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/iconv/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/gdbm/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/libffi/lib -Wl,--stack,0x00200000,--enable-auto-import main.o -lx64-msvcrt-ruby200 -lshell32 -lws2_32 -limagehlp -lshlwapi -o ruby.exe However is not linking ruby.res.o with it. This seems to be unique to trunk as ruby_1_9_3 still was able to associate the icon with the executable. Also this didn't affect DLL creation, as it still included the rc information for it (it linked properly) Any ideas? Thank you =end
on 2012-11-06 01:07
Issue #7277 has been updated by luislavena (Luis Lavena). h.shirosaki (Hiroshi Shirosaki) wrote: > Luis, I fixed at r37475. Please check it. Thank you Hiroshi, worked like a charm. I'll release 2.0.0-preview1 as is mentioning this small detail in the experimental notes. Thank you again. ---------------------------------------- Bug #7277: mingw: Makefile no longer links ruby.res.o with PROGRAM or WPROGRAM https://bugs.ruby-lang.org/issues/7277#change-32460 Author: luislavena (Luis Lavena) Status: Closed Priority: Normal Assignee: nobu (Nobuyoshi Nakada) Category: build Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-11-01) [x64-mingw32] =begin Just recently noticed that when linking ruby.exe or rubyw.exe, the icon defined in ruby.rc (or rubyw.rc) is not linked in. The following is the command line make ruby.exe V=1 generates: x86_64-w64-mingw32-gcc -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -L. -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/tk/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/tcl/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/zlib/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/libyaml/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/pdcurses/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/openssl/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/iconv/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/gdbm/lib -LC:/Users/Luis/Code/oneclick/rubyinstaller/sandbox/libffi/lib -Wl,--stack,0x00200000,--enable-auto-import main.o -lx64-msvcrt-ruby200 -lshell32 -lws2_32 -limagehlp -lshlwapi -o ruby.exe However is not linking ruby.res.o with it. This seems to be unique to trunk as ruby_1_9_3 still was able to associate the icon with the executable. Also this didn't affect DLL creation, as it still included the rc information for it (it linked properly) Any ideas? Thank you =end
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.