2010/2/12 Alberto Simões <al...@alfarrabio.di.uminho.pt>: > Hello > > Before, the question (later the history): I need to compile a library > that is pure C. I would like this process to be the more portable > possible (strawberry Perl is one of my targets). > > Later, this library will be used to: > - be linked with some extra C code and build some binaries > - be linked with a XS file to interface with the Perl Module. > > Anybody can give me some hints on where to look at? I am looking at > Module::Build::API but not sure if I will be able to accomplish my needs > just looking there :)
I have very little experience what what you describe, but I know the M::B API reasonable well. :-) I'd suggest seeing how far the "c_source" parameter gets you. http://search.cpan.org/~dagolden/Module-Build-0.3603/lib/Module/Build/API.pod#c_source Best of luck. When you're done, if you can write up the process into a cookbook entry, I'd love to include it in the official Module::Build documentation. -- David