On 13/02/2010 14:23, Michael G Schwern wrote: > Alberto Simões wrote: >> Hello. >> >> On 12/02/2010 22:26, David Golden wrote: >>> I have very little experience what what you describe, but I know the >>> M::B API reasonable well. :-) >> >> I think c_source will not be enough, but I will try to find out. >> >> A quick question: where can I add code (perl code) to be run during the >> build process (and not when running Build.PL for the first time?) > > Write an ACTION_code() method in your subclass. Be sure to call > SUPER::ACTION_code.
Using a process_..._files method at the moment. > If you're doing a C build, and c_source isn't enough, using > ExtUtils::CBuilder (accessable via $build->cbuilder) will give you a lot > of control and portability. Thanks. That will help. I recall writing some crap code under Config::AutoConf to help building libraries. With luck I can convince David to include some extra code in CBuilder ;) I will keep in touch. Thanks. -- Alberto Simões