Re: 2 Qs about Module::Build

2010-02-10 Thread craig
I'm sorry, I worked through it but forgot to post what the solutions were, for anyone following this as a thread in the future. Restating my Qs with As: Q: How do I block the optimization from the Perl build being included the cc command? I would prefer to leave it in the optimization v

Re: 2 Qs about Module::Build

2010-02-10 Thread Eric Wilhelm
# from cr...@animalhead.com # on Sunday 07 February 2010 23:25: > I can >add the optimization I want to the extra_compiler_flags parameter, >but the optimization from the Perl build is included in the cc >command also.  I feel sorry for the compiler which is told to >optimize two different ways...

Re: 2 Qs about Module::Build

2010-02-08 Thread Paul LeoNerd Evans
On Sun, 7 Feb 2010 23:25:56 -0800 cr...@animalhead.com wrote: > Q2: What's the easiest way to communicate something from >the Build.PL code to test code? I'm not sure about test, but I have an ExtUtils:: module that needs to invoke the C compiler again. If Module::Build is in effect, I us

2 Qs about Module::Build

2010-02-07 Thread craig
Hi, I'm working on my first CPAN module that uses Module::Build. It has an XS component. I can't find an exact correspondent to the OPTIMIZE parameter with ExtUtils::MakeMaker. I can add the optimization I want to the extra_compiler_flags parameter, but the optimization from the Perl build is