From: Paul Brannan Date: 2002-06-10T22:40:04+09:00 Subject: Re: extconf.rb and c++ On Mon, Jun 10, 2002 at 05:38:06PM +0900, Martin Man wrote: > so the question is, how to force have_header, have_library, etc. to do the > detection using c++ compiler ?? This is probably a hack, but how about: CPP.sub!(CONFIG['CPP'], 'g++ -E') LINK.sub!(CONFIG['CC'], 'g++') I haven't tried it, but since try_link and try_cpp use these constants, I think it will work. Paul