[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU definition of C_WEAKEXT does not match AIX definition
From: |
Graham Reed |
Subject: |
Re: GNU definition of C_WEAKEXT does not match AIX definition |
Date: |
Tue, 2 Dec 2003 10:26:18 -0500 |
Ian Lance Taylor writes:
> Nick Clifton <address@hidden> writes:
> > #if defined _AIX52 || defined AIX_WEAK_SUPPORT
>
> Isn't this going to break cross-compilers hosted on AIX 5.2?
How many COFF-based those systems have working weak support? I'm sure
the extension was added to binutils for a reason; I can't tell from
CVS, as it seems to have been there since 1.1 in 1999....
Alternately, something a la C_NT_WEAK could be done, with C_AIX_WEAK.
Obviously more work; and you'd need a way of detecting that your
target is AIX 5 or later. (Completely giving up on supporting value
127 on AIX 5.1 and 111 on 5.2 and up.)
I don't know binutils well enough to even to begin to approach that
last one....
--
Some open source software is great because you can fix it if you have to.
Some open source software is awful because you have to fix it.
-- Graham Reed, trying to get xmlwrapp to link on AIX