Skip to content

Instantly share code, notes, and snippets.

@dsisnero
Created July 22, 2020 14:15
Show Gist options
  • Save dsisnero/38af37a05c83fde410a21410eb03e2fe to your computer and use it in GitHub Desktop.
Save dsisnero/38af37a05c83fde410a21410eb03e2fe to your computer and use it in GitHub Desktop.
checking for GCC... -------------------- yes
"x86_64-w64-mingw32-gcc -o conftest.exe -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/x64-mingw32 -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/ruby/backward -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0 -I. -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -L. -LF:/windows/scoop/apps/ruby/2.7.1-1/lib -L. -pipe -s -fstack-protector-strong -lx64-msvcrt-ruby270 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7: return !!argv[argc];
8: }
/* end */
"x86_64-w64-mingw32-gcc -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/x64-mingw32 -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/ruby/backward -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0 -I. -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: /*top*/
6: #ifndef __GNUC__
7: # error
8: |:/ === __GNUC__ undefined === /:|
9: #endif
/* end */
--------------------
checking for Homebrew... -------------------- no
--------------------
have_package: checking for cairo version (>= 1.2.0)... -------------------- yes
--------------------
have_package: checking for cairo-ft... -------------------- yes
--------------------
checking for macOS... -------------------- no
--------------------
have_macro: checking for HAVE_RUBY_ST_H in ruby.h... -------------------- yes
"x86_64-w64-mingw32-gcc -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/x64-mingw32 -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/ruby/backward -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0 -I. -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong -Wall -mms-bitfields -mms-bitfields -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ruby.h>
6: /*top*/
7: #ifndef HAVE_RUBY_ST_H
8: # error
9: |:/ === HAVE_RUBY_ST_H undefined === /:|
10: #endif
/* end */
--------------------
have_macro: checking for HAVE_RUBY_IO_H in ruby.h... -------------------- yes
"x86_64-w64-mingw32-gcc -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/x64-mingw32 -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/ruby/backward -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0 -I. -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong -Wall -mms-bitfields -mms-bitfields -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ruby.h>
6: /*top*/
7: #ifndef HAVE_RUBY_IO_H
8: # error
9: |:/ === HAVE_RUBY_IO_H undefined === /:|
10: #endif
/* end */
--------------------
have_func: checking for rb_errinfo() in ruby.h... -------------------- yes
"x86_64-w64-mingw32-gcc -o conftest.exe -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/x64-mingw32 -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/ruby/backward -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0 -I. -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong -Wall -mms-bitfields -mms-bitfields conftest.c -L. -LF:/windows/scoop/apps/ruby/2.7.1-1/lib -L. -pipe -s -fstack-protector-strong -LF:/windows/scoop/apps/msys2/current/mingw64/lib -LF:/windows/scoop/apps/msys2/current/mingw64/lib -lcairo -lcairo -lfreetype -lx64-msvcrt-ruby270 -lcairo -lcairo -lfreetype -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ruby.h>
6:
7: /*top*/
8: extern int t(void);
9: int main(int argc, char **argv)
10: {
11: if (argc > 1000000) {
12: int (* volatile tp)(void)=(int (*)(void))&t;
13: printf("%d", (*tp)());
14: }
15:
16: return !!argv[argc];
17: }
18: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_errinfo; return !p; }
/* end */
--------------------
have_func: checking for rb_gc_adjust_memory_usage() in ruby.h... -------------------- yes
"x86_64-w64-mingw32-gcc -o conftest.exe -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/x64-mingw32 -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/ruby/backward -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0 -I. -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong -Wall -mms-bitfields -mms-bitfields conftest.c -L. -LF:/windows/scoop/apps/ruby/2.7.1-1/lib -L. -pipe -s -fstack-protector-strong -LF:/windows/scoop/apps/msys2/current/mingw64/lib -LF:/windows/scoop/apps/msys2/current/mingw64/lib -lcairo -lcairo -lfreetype -lx64-msvcrt-ruby270 -lcairo -lcairo -lfreetype -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ruby.h>
6:
7: /*top*/
8: extern int t(void);
9: int main(int argc, char **argv)
10: {
11: if (argc > 1000000) {
12: int (* volatile tp)(void)=(int (*)(void))&t;
13: printf("%d", (*tp)());
14: }
15:
16: return !!argv[argc];
17: }
18: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_gc_adjust_memory_usage; return !p; }
/* end */
--------------------
have_type: checking for enum ruby_value_type in ruby.h... -------------------- yes
"x86_64-w64-mingw32-gcc -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/x64-mingw32 -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0/ruby/backward -IF:/windows/scoop/apps/ruby/2.7.1-1/include/ruby-2.7.0 -I. -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -IF:/windows/scoop/apps/msys2/current/mingw64/include/cairo -IF:/windows/scoop/apps/msys2/current/mingw64/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/glib-2.0 -IF:/windows/scoop/apps/msys2/current/mingw64/lib/glib-2.0/include -IF:/windows/scoop/apps/msys2/current/mingw64/include/pixman-1 -IF:/windows/scoop/apps/msys2/current/mingw64/include/freetype2 -IF:/windows/scoop/apps/msys2/current/mingw64/include/libpng16 -IF:/windows/scoop/apps/msys2/current/mingw64/include/harfbuzz -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong -Wall -mms-bitfields -mms-bitfields -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ruby.h>
6:
7: /*top*/
8: typedef enum ruby_value_type conftest_type;
9: int conftestval[sizeof(conftest_type)?1:-1];
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment