I need to build perl on a centos 4.6 box and migrate cgi scripts that run on a Solaris 8 box to it. I need to build it so the directory structure is the same. I did a perl -V on both boxes and notice just a few difference (cccdlflags, lddlflags). Note: cc was used on Solaris and gcc on linux.
The only main differences are here. When I tried configure Perl on linux with the same 2 flags as Solaris, the Make failed cause it didn't understand the -G. I had heard building shared makes perl slow. I do not know what the W1,E flags do. Will having the shared option here make perl slow? THanks
SOLARIS
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
LINUX
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
The only main differences are here. When I tried configure Perl on linux with the same 2 flags as Solaris, the Make failed cause it didn't understand the -G. I had heard building shared makes perl slow. I do not know what the W1,E flags do. Will having the shared option here make perl slow? THanks
SOLARIS
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
LINUX
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'