Non multa, sed multum!

Now with octopress.

Ruby, Rvm, Lion and Xcode

| Comments

What do I have?

1
2
$rvm --version
rvm 1.13.1 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]

Picture I want to see

Lion switched to LLVM-GCC from the gcc-4.2

1
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

This cause segfault So, I want my GCC:

1
2
3
4
5
$ /usr/bin/gcc-4.2 --version
i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Install GCC tool chain from:

GCC with no Xcode

Environment!

1
2
export rvm_archflags="-arch x86_64"
export CC=/usr/bin/gcc-4.2

Crossing fingers:

1
rvm install 1.9.2

Hey, I’ve got this:

1
2
3
4
5
6
7
8
ruby-1.9.2-p320 - #fetching 
ruby-1.9.2-p320 - #extracting ruby-1.9.2-p320 to /Users/olegkossoy/.rvm/src/ruby-1.9.2-p320
ruby-1.9.2-p320 - #extracted to /Users/olegkossoy/.rvm/src/ruby-1.9.2-p320
ruby-1.9.2-p320 - #configuring 
ruby-1.9.2-p320 - #compiling 
ruby-1.9.2-p320 - #installing 
...
Install of ruby-1.9.2-p320 - #complete

Thanks to:

Comments