Gem Build Flags

I’m trying to build the rubysdl gem on my x86 iMac. Everything seems
to be fine, except I get linking errors because I don’t use an sdl
library with support for PPC.

In short, I’d like to get rid of the “-arch ppc” flag, especially when
linking.

Any help would be appreciated,

Jens Thiede.

On Dec 18, 2007 1:45 AM, Eric H. [email protected] wrote:

Any help would be appreciated,

a) build libsdl with -arch ppc
b) build and install your own ruby
c) edit rbconfig.rb to remove -arch ppc

d) set ARCHFLAGS to “-arch i386” before starting the gem command.

Laurent

On Dec 14, 2007, at 03:02 AM, Jens Thiede wrote:

I’m trying to build the rubysdl gem on my x86 iMac. Everything seems
to be fine, except I get linking errors because I don’t use an sdl
library with support for PPC.

In short, I’d like to get rid of the “-arch ppc” flag, especially when
linking.

Any help would be appreciated,

a) build libsdl with -arch ppc
b) build and install your own ruby
c) edit rbconfig.rb to remove -arch ppc