On Thu, 18 Sep 2003, Michael G Schwern wrote:
> On Thu, Sep 18, 2003 at 10:47:40AM +0100, Orton, Yves wrote:
> > > > Incidentally should the linker under linux be 'cc'? (Im assuming it
> > > > should be as nobody raised that as a weirdness.)
> > >
> > > I think it should be what Config.pm reports it to be. it can
> > > be 'cc', 'gcc' or
> > > anything else.
> >
> > I ask primarily because it defaults to 'ld' in MM_Unix.pm and 'cc' seems a
> > far reach from 'ld'...
>
> As the default is an act of desperation ($Config{ld} should be set) I'm
> not going to put much more logic into determining a default.
$Config{ld} was present in every perl version starting with 5.000, and
in some of the alphas and betas before that as well, so I agree,
$Config{ld} should already be set, and you shouldn't have to worry
about it.
It's perhaps worth noting that perl5's notions are a bit too
Unix-centric here. There are actually 3 programs that one needs to
worry about, but only two variables: cc and ld. In Parrot, this is
supposed to be handled better. There, I've defined 3 variables:
'cc' program to turn C source into object code.
'link' program to combine object files (plus libraries) into
an executable.
'ld' program to created dynamically-loadable objects.
--
Andy Dougherty [EMAIL PROTECTED]