From: Dimmak SDI Date: 2013-06-23T02:09:09+09:00 Subject: Inline 3.12 switch g++/gcc Please help! I'm use ruby 1.93 with inline 3.12, mingw, windows7 and when i run following code i get an error message: require 'inline' class MyTest inline(:C) do |builder| builder.include '' builder.add_compile_flags '-x c++', '-lstdc++' builder.c ' void hello() { std::cout << "hello" << std::endl; }' end end t = MyTest.new() t.hello That's because by default ruby(or inline gem) use gcc.exe. But if I rename g++ to gcc then no any errors. So please tell me, how can i quickly switch between g++ and gcc with ruby config? -- Posted via http://www.ruby-forum.com/.