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.
http://developer.apple.com/releasenotes/OpenSource/PerlExtensionsRelNotes/index.html#//apple_ref/doc/uid/TP40006659-DontLinkElementID_3
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