Makefile for gcc on Solaris?

I just grabbed 0.10.13 and tried to build it on Solaris, but the
generated Makefile uses cc, which is not installed. gcc is installed
but some options like -KPIC are not valid.

I did a search with no luck, except that I see people compiling
ferret with gcc on Solaris somehow. What should I do?

– fxn

PS: Sun Microsystems Inc. SunOS 5.11 snv_43 October 2007

On Nov 13, 2006, at 10:11 PM, Xavier N. wrote:

I just grabbed 0.10.13 and tried to build it on Solaris, but the
generated Makefile uses cc, which is not installed. gcc is installed
but some options like -KPIC are not valid.

I did a search with no luck, except that I see people compiling
ferret with gcc on Solaris somehow. What should I do?

For the archives: there are some instructions about how to modify
extconf.rb in the TextDrive forums:

http://forum.textdrive.com/viewtopic.php?id=12630

But if the real source of this mismatch is that the interpreter was
compiled with cc, I would try to compile a tarball with gcc and work
with that one instead. Otherwise extensions would be compiled with a
different suite than the one used for the interpreter, and AFAIK that
is not advisable.

– fxn

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs