-----BEGIN PGP SIGNED MESSAGE-----
Roy Stannard wrote:
| The only compiling I’ve done in Ubuntu is with ffmpeg which was pretty
| straightforward. But what would be the proper CFLAGS settings for a Ruby
| i686 compilation and would it bw necessary to compile Rails and Gems
| too. Sorry if these questions seem naive but this is a noob writing here
Compiling Ruby on Ubuntu isn’t trivial. But searching the web for
‘compiling ruby on ubuntu’ should unearth what you need.
Usually, you don’t need special CFLAGS, as long as your compiler can
compile for the i686 instruction set (confused yet?). If your compiler
cannot compile using -mtune=i686, you’ll have to compile the compiler
to include that optimization (and you don’t want to compile GCC. Trust
me. Been there, done that, stared at the output for a long, long while).
However, as long as you have the compiler, all gems you install and
that use C extension libraries (like tmail, or hpricot but not Rails)
should pick up your changes correctly.
Gems that are just plain old Ruby don’t need to be ‘recompiled’ (since
Ruby code isn’t, generally, compiled anyway, as Ruby is interpreted,
much unlike C/C++).
That being said, the question is more one of aesthetics, rather than
At the base of all these aristocratic races the predator is not
to be mistaken, the splendorous blond beast, avidly rampant for
plunder and victory.
~ – Friedrich Nietzsche (1844-1900)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----