Eric Christensen wrote: > vjoel wrote: > >>I'm embarrassed to say it was 6.0. I have 8.0 (express) but can't get >>past the "MSVCR80.DLL missing" problem, at least with the >>mkmf.rb-generated Makefile. (For regular projects in MSVC 8.0, you can >>get around this problem by deleting the foobar.exe.embed.manifest.res >>file from the Debug dir of project foobar.) Anyone have any ideas? >> >>I'm using the single-click installer ruby, which IIRC is compiled with >>7.1. Maybe it's not a fair comparison with gcc-built ruby, since that >>will take advatage of i686 vs. i386. So, not a very scientific >>comparison at all--it would best to use the latest MS compiler, build >>ruby from scratch, and make sure to use the same arch settings as for >>gcc. >> >>I'm just glad to see that gcc is so much better than it was. > > > I'd be very interested in seeing it compiled with the just-released VC > using LTCG (link-time code generation). It can make inter-module > optimizations and adjust calling conventions on a case-by-case basis. > I'd love to try it. Any idea how to hack the Makefiles generated by mkmf.rb to fix the "MSVCR80.DLL missing" problem? Can you compile any ruby extension successfully with 8.0? Do you know that LTCG is included in the Express version? ISTR that some optimization features (maybe profile guided optimization) were not in the express edition. However, the Property Page for Linker/Optimization seems to allow setting LTCG and PGO. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407