OpenSolaris

Printable Version Enter a New Search
Bug ID 6237094
Synopsis perl build should honor $(CC)
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:perl
Keywords onnv_triage | tonic-gcc
Responsible Engineer Keith Wesolowski
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_25
Fixed In snv_25
Release Fixed solaris_nevada(snv_25)
Related Bugs 6266868
Submit Date 7-March-2005
Last Update Date 10-October-2005
Description
The perl makefiles are set up to use preexisting config.sh files.  These hardcode several Forte-specific values regardless of how $(CC) and $(__GNUC) are set.  Additionally, the makefiles are set up to substitute $(SPRO_VROOT) into them before use, even if Forte is not being used.

Perl should build with gcc when $(__GNUC) is empty and should honor $(CC) in general.

This means that a perl built with gcc would need to deliver Config.pm as if built with Forte, and continue to offer PerlGcc.

Because the perl build also uses CFLAGS but ignores CC, any flags that are processed by cw aren't translated.  This is especially bad if the flag is _cc=foo or _gcc=foo.

 xxxxx@xxxxx.com 2005-06-11 23:46:47 GMT
Work Around
N/A
Comments
N/A