Ticket #2004 (closed bug: fixed)
Where did Configure.pl option '--cxx' go to?
Reported by: | jkeenan | Owned by: | jkeenan |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | configure | Version: | 3.0.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | applied | Platform: | all |
Description
In Configure.pl, we have command-line option cxx documented as follows:
"--cxx=(compiler)" Specify which C++ compiler to use (for ICU).
In lib/Parrot/Configure/Options/Conf.pm, we have this:
--cxx=(compiler) Use the given C++ compiler
And cxx is an element of @Parrot::Configure::Options::Conf::Shared::shared_valid_options.
But I can no longer find any place in the configuration system where the value provided to --cxx gets assigned to anything in the data part of the Parrot::Configure object. Hence, it never appears in lib/Parrot/Config/Generated.pm or config_lib.pir (except in the entries for configure_args).
$> perl Configure.pl --cxx=abc $> grep -nE '(abc|cxx)' lib/Parrot/Config/Generated.pm 102: 'configure_args' => '"--cxx=abc"'
Didn't we used to be able to assign our choice of C++ compiler to cxx? If so, does anyone know why we can do so no longer? Or when this option slipped away?
Thank you very much.
kid51