Originally posted by: SystemAdmin
How can perl %Config be altered at runtime?
We have some perl-5.6 script that is used as glue to integrate
several other c/c++ executables compiled with gcc/g++ -pedantic -std=c99/c++98 .
We would like to use perlcc to translate our script to c99 code,
that can be added into this suite.
This would allow us to remove the requirement for perl on the target hosts.
Our installation of perl (managed by an outside firm,
and therefore difficult to recompile) sets $Config{cc} to cc_r,
rather than gcc.
Without recompiling perl, how can $Config{cc} be set to "gcc" at runtime,
to direct perlcc to use gcc and not cc_r.
TIA,
#AIX-Forum