compiler for gems

H

Hans Dampf

How can I define, which c-compiler should be used installing gems with
c-code on windows?
Is there a possibility to select a compiler (mingw, bcc32, cygwin) or
does it always use msvc?
 
T

Tim Hunter

Hans said:
How can I define, which c-compiler should be used installing gems with
c-code on windows?
Is there a possibility to select a compiler (mingw, bcc32, cygwin) or
does it always use msvc?

By default it's the same compiler that you used to compile Ruby.
Otherwise you could try setting the CC environment variable.

set CC=bcc32
 
R

Roger Pack

Hans said:
How can I define, which c-compiler should be used installing gems with
c-code on windows?
Is there a possibility to select a compiler (mingw, bcc32, cygwin) or
does it always use msvc?

I know that by default with mingw it'll use what the first "make" and/or
"gcc" is in the path, so setting the path up right may help.
-=R
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,655
Latest member
eizareri

Latest Threads

Top