Hello everybody!
Is there a way to tell RubyInline to compile the C code using the -m32
option??
Let me elaborate…
I am using a 32-bit .dylib within a C program, the first time I
compiled using gcc I got the following error: “no matching architecture
in universal wrapper”
To resolved this I added -m32 flag: gcc -m32 …etc. and it worked just
fine.
I am now trying to use RubyInline to run the C code from ruby but
calling the program is giving me the “no matching architecture in
universal wrapper” error again. How can I pass the -m32 flag through
RubyInline?
Thanks