cperl icon indicating copy to clipboard operation
cperl copied to clipboard

no miniperl

Open rurban opened this issue 10 years ago • 0 comments

The only remaining task to remove miniperl is one function in ext/DynaLoader/dlboot_c.PL

resolve xx/../path, symlinks, duplicates e.g. ("/usr/lib", "/lib/x86_64-linux-gnu", "/lib/../lib", "/usr/lib/x86_64-linux-gnu", "/usr/lib/../lib") => ("/usr/lib", "/lib/x86_64-linux-gnu", "/lib", "/usr/lib/x86_64-linux-gnu")

Rename lib/buildcustomize.pl to lib/bootlib.pm which is included in RUN_PERL.

resolve_duplicate_paths in Configure

first resolve any/../w => w then remove duplicates, but keep order intact then resolve symlinks easily done via sh or sed or awk. (Done)

add this to config.h:

/* LIBPTH
*     This variable contains a space seperated (or list) set of paths for the linker
*      and DynaLoader to search for additional libraries.
*/
#define LIBPTH "$libpth"

remove all references to miniperl, improve and streamline the build system. (In work)

See branch feature/CM-916-cperl-no-miniperl https://github.com/perl11/cperl/commits/feature/CM-916-cperl-no-miniperl, was CM-916

rurban avatar Sep 11 '15 18:09 rurban