Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ccdlflags and lddlflags

Status
Not open for further replies.

csgonan

MIS
May 2, 2007
118
US
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'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top