Skip to content

Instantly share code, notes, and snippets.

@bosko
Created April 29, 2011 08:23
Show Gist options
  • Save bosko/948043 to your computer and use it in GitHub Desktop.
Save bosko/948043 to your computer and use it in GitHub Desktop.
How to compile conftest for Tcl/Tk Ruby extension
gcc -o conftest -Ic:/Ruby/192/include/ruby-1.9.1/i386-mingw32 -Ic:/Ruby/192/include/ruby-1.9.1/ruby/backward -Ic:/Ruby/192/include/ruby-1.9.1 -
I../../../../../ruby-git/ext/tk -I../../../tcl//include -I../../../tk/include -I../../../tcl//include -I../../../tk/include -O3 -g -Wextra -Wno-unu
sed-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -Lc:/Ruby/192/lib -L../..
/../tcl//lib -L../../../tk/lib -L. -ltcl85s -lmsvcrt-ruby191-static -ltk85s -ltcl85s -lshell32 -lws2_32 -lgdi32 -lcomctl32 -limm32 -lole32 -lolea
ut32 -luuid -lcomdlg32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment