On Tue, Jan 24, 2006 at 03:13:14PM +1100, Paul TBBle Hampson wrote:
> On Mon, Jan 23, 2006 at 08:03:47PM -0500, John Nowak wrote:
>
> > On Jan 23, 2006, at 6:21 PM, Juanval wrote:
>
> > >I've just compiled it in an x86_64, and although there are some
> > >warnings regarding different variable sizes [1], and a couple of
> > >warnings regarding static linking [2], it compiles fine.
>
> > FWIW, I'm getting the same thing on PPC linux distributions. I assume this is already known.
>
> That's strange. Certainly sizeof(*int) != sizeof(int) on 64-bit systems,
> but I wouldn't have expected it on PPC32...
No that is normal on G3, because they have 64bit integer
arithmetic already, though their registers are 32bit afaik.
> The static linking one's fine, as long as you're not building against a
> later gcc than you're deploying to. (Which is true of dynamic linking
> too). Due to NSSwitch, even static linking only gets a stub linked in
> for the NSS functions, and loades glibc6 for those functions at runtime.
Ah that seems the reason why gethostbyname() works even when
statically linked.
Regards,
-- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361Received on Tue Jan 24 2006 - 13:27:36 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:51 UTC