On Mon, 6 Jun 2005, Nick Glencross wrote: > Andy Dougherty wrote: > > > On Mon, 6 Jun 2005, Nick Glencross wrote: > > > > > > > Not a problem. I'm attaching a patch which I believe fixes all the build > > > issues on HP-UX, and shouldn't cause any breakage with any other > > > platforms. > > > > > > I've retested on Linux and cygwin (although cygwin has problems with > > > dynclasses), and all's well. > > > > > > A summary of the changes: > > > > > > * Two extra flags are made available (cc_shared, which was already > > > extracted > > > from Perl but not used, and ccdlflags, which probably needs a better > > > name!), > > > and added to the makefile etc. > > > > > > > Agreed -- ccdlflags indeed does need a better name. I'd suggest > > link_dynamic, since it's really the flags to be supplied to the linker that > > allow it to be used with shared and dynamically loaded libraries. (Perl5's > > Configure confuses things by usually using $cc for linking as well.) > > > Yea, this variable is clearly a C compiler-used-as-a-linker flag. How about > cc_link_dynamic?
I see your point, but I think not. This flag is to be used by the $Config{link} program, so it should be named link_something. It is true that on most Unix-like systems, 'linking' is best done by the C-compiler front end, but that's not generally true elsewhere. -- Andy Dougherty [EMAIL PROTECTED]