Eric Hodel
3/9/2009 6:14:00 PM
On Mar 9, 2009, at 08:46, Roger Pack wrote:
> Jeff Schwab wrote:
>> Eric Hodel wrote:
>>> On Mar 6, 2009, at 16:43, Roger Pack wrote:
>>>> Is there a way to know which version of gcc was used with a certain
>>>> ruby binary?
>>>
>>> no.
>>
>> I'm curious: Why would someone want to know that?
>
> I was looking for a way to include it in the output of the ruby
> benchmark suite so that the logs were more descriptive of which
> version
> of Ruby was being run :)
>
> Currently I can glean this information from rbconfig:
> Ruby VM: ruby [ruby 1.8.6 (2008-07-17 patchlevel 279) [i386-
> mingw32];-g
> -O2]
You only want the options passed to GCC? They're in rbconfig.rb