On Mon, 23 Feb 2004, H.Merijn Brand wrote:

> Anyone with a more profound gcc knowledge has an opinion on this?
>
> Forwarded by "H.Merijn Brand" <[EMAIL PROTECTED]>
> ----------------------- Original Message -----------------------
>  From:    Art Haas <[EMAIL PROTECTED]>
>  To:      [EMAIL PROTECTED]
>  Date:    Fri, 20 Feb 2004 13:53:56 -0600
>  Subject: Replacing '-rdynamic' in Configure script
> ----
>
> I'm running Perl on Linux, and have wondered why the 'Configure' script
> suggests using '-rdynamic' for linking the Perl binary. The GCC
> documentation does not mention '-rdynamic', and after hunting around a bit
> for some info on it I found that it appears in the gcc specs file, and is
> apparently another way to specify '--export-dynamic'. So, instead of using
> this undocumented (in my GCC-3.5 CVS code) flag, replace it with a call to
> the linker to use '--export-dynamic'.

This change (-Wl,-E) is probably fine -- I'm pretty sure that's what we're
doing elsewhere that uses GNU ld.  The use of the -rdynamic is very old --
it goes back at least to perl5.001m, nearly 10 years ago -- and is there
simply because it was what worked for whoever suggested it all those years
ago.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to