Forum: Ruby-core [Assigned] Building 32-bit only on Snow Leopard (dylib failed to build)

Posted by mame (Yusuke Endoh) (Guest)
on 2012-12-09 16:38
(Received via mailing list)
Issue #3353 has been updated by mame (Yusuke Endoh).

Status changed from Feedback to Assigned

"--with-arch=i386" should be specified in ./configure, I guess.

Mrkn, do you know the status of this issue?  Do you think this issue 
should be fixed before 2.0.0?

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #3353: Building 32-bit only on Snow Leopard (dylib failed to build)
https://bugs.ruby-lang.org/issues/3353#change-34564

Author: daerid (Bryan Ross)
Status: Assigned
Priority: Low
Assignee: mrkn (Kenta Murata)
Category: build
Target version:
ruby -v: 1.9.1


=begin
 Okay, I know this isn't all THAT helpful, but I was trying to build 
ruby 1.9.1 on Snow Leopard, but 32-bit only. I had CFLAGS, LDFLAGS, 
CXXFLAGS, and DLDFLAGS all set to '-arch i386'

 Everything would be fine, all *.o files would be built i386, but when 
it came time to create libruby.1.9.1.dylib, the -arch i386 flag was not 
present. I'm no autoconf genius, so I have absolutely NO idea how to 
patch this. But all I did was re-run the failing command and manually 
added the -arch i386 command, and it worked.

 A minor point, but kind of annoying nonetheless.

 I have attached the relevant output of 'make'.
=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.