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: 0D73F361 _______________________________________________ [email protected] mailing list http://wmii.de/cgi-bin/mailman/listinfo/wmii
