From: nobu.nokada@... Date: 2004-08-05T15:52:26+09:00 Subject: Re: help from *nix ruby users Hi, At Thu, 5 Aug 2004 13:25:54 +0900, Nicholas Van Weerdenburg wrote in [ruby-talk:108359]: > Is there any difference between > > ruby -r rbconfig -e 'p Config::CONFIG["arch"]' > > and > > ruby -e 'p PLATFORM' Almostly equal. But they can be different while cross compiling. Although many extension libraries (even ext/extmk.rb and lib/mkmf.rb) uses RUBY_PLATFORM in their extconf.rb to determin the target platform, I consider it shouldn't. Moreover, PLATFORM, VERSION and RELEASE_DATE have been deprecated long ago, so never use them. -- Nobu Nakada