From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: Writing portable Code for Glibc and 32/64 bit
Date: Sat, 21 Nov 1998 15:12:11 -0500 (EST) [thread overview]
Message-ID: <199811212012.PAA15380@adder.cs.Virginia.EDU> (raw)
> A portability problem I have tried to figure out a good soloution for is
> that of structure sizes in arrays - e.g.
>
> struct frob {
> void *a;
> void *b;
> int x;
> int dummy;
#ifdef PTRS_ARE_64_BITS
void *__ignore_me;
#endif
> }
However, I would first prove to myself that it makes a significant
difference in the run-time of my program to waste all that memory. And
it's hard to believe that this is worth hacking the compiler chain to
do this kind of thing for other people.
-- g
next reply other threads:[~1998-11-21 20:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-21 20:12 Greg Lindahl [this message]
1998-11-21 20:40 ` Writing portable Code for Glibc and 32/64 bit Dave Gilbert
1998-11-21 20:47 ` Maciej W. Rozycki
-- strict thread matches above, loose matches on Subject: below --
1998-11-21 20:51 Greg Lindahl
1998-11-20 11:03 y0000218
1998-11-20 15:02 ` Stefan Schroepfer
1998-11-20 18:53 ` Jeff DeMaagd
1998-11-21 13:18 ` Dave Gilbert
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox