--Ycz6tD7Th1CMF4v7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 24, 2011 at 11:22:22AM +0900, Michael Edgar wrote:
> On Jun 23, 2011, at 10:07 PM, Darryl L. Pierce wrote:
> 
> > On 06/23/2011 07:39 PM, Michael Edgar wrote:
> >> 
> >> require 'mkmf'
> >> have_library('stdc++')
> >> create_makefile('laser/BasicBlock')
> >> 
> >> That's a working extconf.rb for a gem I'm actively working on. Adding stdc++
> >> makes mkmf use g++ on my system.
> > 
> > Hrm, no joy. It's still failing with the same error in mkmf.log.
> 
> 
> Just checked, and you're right - same thing happens to me if I insert
> a "have_header" for one of my header files. It's failing because mkmf
> is creating a file called "conftest.c" and not "conftest.cc" - changing the
> name of the file makes it work. Ugh.
> 
> It looks like a bug in mkmf.rb:407, in "cpp_command," it uses CONFTEST_C
> which ends in .c .

I see you already reported this issue [1]. Thanks. :)

[1] http://redmine.ruby-lang.org/issues/4924

-- 
Darryl L. Pierce <mcpierce / gmail.com>
http://mcpierce.multiply.com/
"What do you care what people think, Mr. Feynman?"

--Ycz6tD7Th1CMF4v7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk4EjR0ACgkQtddqM0QFuLIZzwCg6oIzH+dO9UoYeKzUxc2qy+ED
cZEAn0yrvh+R1vyswAoTDlAuIeK+MBIK
V
-----END PGP SIGNATURE-----

--Ycz6tD7Th1CMF4v7--