develooper Front page | perl.perl5.porters | Postings from January 2009

RE: merging make_ext and make_ext_cross

Thread Previous | Thread Next
January 11, 2009 06:30
RE: merging make_ext and make_ext_cross
Message ID:

> Steffen Mueller actually has all of ext/util/make_ext 
> re-written in Perl,
> but (I believe) doesn't have ext/util_make_ext_cross 
> integrated with it,
> nor has anyone dealt with the make clean; make distclean 
> problem described.
> (make distclean; on its own works fine)
> Also, Yves thought it easier to convert ext/util/make_ext to 
> Perl first, then
> figure out how to merge it with the Win32 code, rather than 
> trying to compare
> a shell script with Perl code.
> So best to work out how to avoid duplicating work.

that's fine!

> As far as he and I can see, make_ext_cross is identical to 
> make_ext, except
> that it invokes Makefile.PL with -MCross. So I assume that 
> the right way
> forward is to add an option to the new to use 
> -MCross, and then
> change the 4 lines in Cross/Makefile-cross-SH that currently invoke
> make_ext_cross, to instead invoke with the 'use 
> -MCross' option
> enabled.

yes, that's right.

2 points however:

- make_ext_cross needs additional attention  anyway - so feel free to 
ignore it for now, I'll bring it up-to-date when continuing with cross-compilation,
hopefully very soon

- File ./Cross/Makefile-cross-SH is deleted (

... and the last link makes me think that I need to bring my mind up-to-date...

rsync is Soooooooo yesterday :)

> So is it best if we patch blead to change ext/util/make_ext to
> ext/util/, and then let you patch that (and test 
> it) to incorporate
> the -MCross option, and eliminate ext/util/make_ext_cross ?
> (then sort out disclean, and work out how to merge the Win32 code)


Best regards,
Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About