From: "Darryl L. Pierce" Date: 2011-06-27T22:47:52+09:00 Subject: Re: Explicitly setting compiler to C++ in extconf.rb... --HCdXmnRlPgeNBad2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 25, 2011 at 05:22:12AM +0900, Ryan Davis wrote: > mkmf provides: >=20 > with_cflags(flags) # :yields: >=20 > so you should be able to do something like >=20 > with_cflags("-x c++") do > # ... > end That did the trick! I added "-x c++" to my $CFLAGS and the system looked for the headers correctly. Thank you. --=20 Darryl L. Pierce http://mcpierce.multiply.com/ "What do you care what people think, Mr. Feynman?" --HCdXmnRlPgeNBad2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4IifsACgkQtddqM0QFuLKl6QCfXHCmjtOxCtNGx9Z8Br1QaLBN vj4AoJt83/BSDN2XyI3Vi0SXivi7MgrQ =9W0h -----END PGP SIGNATURE----- --HCdXmnRlPgeNBad2--