develooper Front page | perl.perl5.porters | Postings from September 2003

Re: Interesting - [drow@mvista.com: A user's experiences with GCC-3.4 snapshots]

Thread Previous | Thread Next
From:
Alan Burlison
Date:
September 17, 2003 14:23
Subject:
Re: Interesting - [drow@mvista.com: A user's experiences with GCC-3.4 snapshots]
Message ID:
3F68D0CE.3030704@uk.sun.com
Chip Salzenberg wrote:

> Hm, I wonder ... does ELF have a way to say "I want the value of this
> symbol, but if it's not defined, then I'll take zero instead"?  If so,
> and if the declaration of setproctitle() had such a qualifier on it,
> then this test would be reasonable.

Not that's portable.  You can dork around with dlsym(), or with #pragma weak 
on Solaris, but it all *very* dodgy.

-- 
Alan Burlison
--


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About