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:
- ./configure --with-arch=x86_64,i386 —> a universal build
- 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: