From: "mrkn (Kenta Murata)" Date: 2013-06-07T07:24:51+09:00 Subject: [ruby-core:55350] [ruby-trunk - Bug #3353][Closed] Building 32-bit only on Snow Leopard (dylib failed to build) Issue #3353 has been updated by mrkn (Kenta Murata). Status changed from Assigned to Closed I maintain the CI for 32-bit OS X. You can check the result of it in http://rubyci.org/ ---------------------------------------- Bug #3353: Building 32-bit only on Snow Leopard (dylib failed to build) https://bugs.ruby-lang.org/issues/3353#change-39758 Author: daerid (Bryan Ross) Status: Closed Priority: Low Assignee: mrkn (Kenta Murata) Category: build Target version: ruby -v: 1.9.1 Backport: =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 -- http://bugs.ruby-lang.org/