Monday, May 10, 2010

Compiling Ruby1.9 with SunCC on OpenSolaris

Today, I compiled snapshot of ruby on my OpenSolaris machine. It's so smoothly gone and then I could try some new features of ruby1.9.2 on developing.

First of all, very important thing is installation of SunCC via IPS. It is included i n Sun Studio built on Netbeans.
$ pfexec pkg install pkg:/sunstudio12u1
$ CC='/opt/sunstudio12u1/bincc' CFLAGS='-Xa' ./configure --enable-pthread
That's all.