Getting Correct Arch

0 views
Skip to first unread message

Ken Collins

unread,
May 7, 2009, 7:13:50 PM5/7/09
to 75...@googlegroups.com

This is bugging the hell out of me.

-=>> ruby1.9 -v
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9]

Can someone tell me what I might be able to do to have i686-darwin9
show up when compiling and installing?


- Ken

Ken Collins

unread,
May 7, 2009, 7:23:02 PM5/7/09
to 75...@googlegroups.com

Hmmm...

Seems that even tho my ruby 1.8.7 shows up as i686 I was looking in
the ruby source and noticed this:

UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown

And the output of uname -a on my machine is:
Darwin station.actionmoniker.com 9.6.0 Darwin Kernel Version 9.6.0:
Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
i386

So I guess I'm OK? But aren't higher numbers better :) ??


- Ken

Reply all
Reply to author
Forward
0 new messages