parrot/parrot — Issue #702: Make stripping a configure-time option
Author: gerdr
Created: 2012-01-21 10:42:22+00:00
State: open

Currently, stripping installable executables and shared libraries on Cygwin is something of a hack. In particular, as there's no separate step for generating installable shared libs, they are stripped on generation (if `--optimize` is present), making debugging optimized builds harder than it needs to be.

A better approach would be to check for the `strip` utility at configure-time and let the install script take care of the stripping instead of the build-time hack in the makefile.

A configure option like `--install-strip` should be added to control this new capability. Whether stripping should be the default for regular and/or optimized builds is up for debate, but keep in mind that Rakudo's build system needs to create copies of the Parrot DLL on Windows, which is not really an issue if it has a size <2MB, but is less-than-optimal if its size is >60MB.