This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: readelf_need_wide


On Wed, Sep 04, 2002 at 11:26:58PM -0500, Loren James Rittle wrote:
> Hey Phil,
> 
> [Please assume a light-hearted answer is what was intended;

Absolutely!  I strongly believe that the GCC project needs more
light-heartedness.  Whimsy, even.


> > The command's normal exit value has to be extracted with WEXITSTATUS.
> 
> Yikes!  Using this macro would appear to be *far* less portable IMHO!

Well, it's POSIX.  And SUSv2.  (But probably not BSD.)


> Your removed test code is buggy IMHO; at least with respects to
> testing the actual feature I used.  Here is how your test program is
> tricked: On many/all UNIX systems, return from main() only uses the
> lowest 8 bits to generate the value returned to the shell.

D'oh!  Good call.  Okay, never mind then.  :-)

The more I play with abi_check.cc, the more I become convinced that we'll
shortly be renaming it to abi_check.cc.in, and replacing these run-time
tests with autoconf'd macros.


Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]