Cannot do a universal build of Ruby 1.9.2 on MAC OS X 10.6

M

Mr zengr

Hello,
I have downloaded ruby-1.9.2-rc1.tar.gz from here:
ftp://ftp.ruby-lang.org/pub/ruby/


I am trying to build it on 64bit mac osx, 10.6 in 32 bit kernel mode.
(uname -m gives i386)

I do the following:

1. ./configure --with-arch=x86_64,i386 ---> a universal build
2. Make ---> gives error

..................
ld: warning: in utf_8.o, file was built for i386 which is not the
architecture being linked (x86_64)
ld: warning: in newline.o, file was built for i386 which is not the
architecture being linked (x86_64)
Undefined symbols:
"_main", referenced from:
start in crt1.10.6.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [miniruby] Error 1

Any idea why?

Thanks


Reference:
http://stackoverflow.com/questions/...universal-ruby-on-mac-os-x-how-about-with-rvm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top