9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "erik quanstrom" <quanstro@quanstro.net>
To: devon.odell@gmail.com, "Charles Forsyth" <forsyth@terzarima.net>,
	9fans@cse.psu.edu
Subject: Re: [9fans] 64-Bit programming model.
Date: Fri, 30 Sep 2005 14:01:01 -0500	[thread overview]
Message-ID: <20050930190101.3CAC094755@dexter-peak.quanstro.net> (raw)
In-Reply-To: <ed5e5d12712267319d8773fb4b44b636@terzarima.net>

actually, i think it's worse than that. enough #ifdefs will make a given
set of programs work, after much hand tweaking, but for each new
program, you need to add even more #ifdefs.

Charles Forsyth <forsyth@terzarima.net> writes

| 
| > At least in Solaris the #define for both amd64 and SPARC64 is `LP64'.
| > This is found in one of the include files under feature_tests.h (see
| > cvs.opensolaris.org).
| 
| yes, they went for the model where long changes size like pointers.
| the difference is that relatively few applications see pointer representations
| but quite a few rely on shifts, masks, etc. of `long' that are functions of 32 not 64.
| 
| but obviously enough ifdefs will compensate for everything, as usual!


  reply	other threads:[~2005-09-30 19:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 11:31 Vester Thacker
2005-09-30 13:31 ` Charles Forsyth
2005-09-30 15:18   ` David Leimbach
2005-09-30 15:44   ` Karl Magdsick
2005-09-30 16:06     ` Charles Forsyth
     [not found]     ` <45544405a9a74e554cd5b645a672fb3e@terzarima.net>
2005-09-30 16:14       ` Karl Magdsick
2005-09-30 16:21         ` Russ Cox
2005-09-30 16:53         ` bakul+plan9
2005-09-30 16:14   ` Devon H. O'Dell
2005-09-30 18:07     ` Charles Forsyth
2005-09-30 19:01       ` erik quanstrom [this message]
2005-10-01 13:52         ` Charles Forsyth
2005-10-01 23:37           ` Ronald G Minnich
     [not found] ` <f344c691fd8960b43b2c77f308ed2ea3@terzarima.net>
2005-09-30 21:27   ` Vester Thacker
2005-09-30 23:28     ` Jim McKie
2005-10-01  3:09       ` Ronald G Minnich
2005-10-01  3:19         ` Devon H. O'Dell
2005-10-01  4:46           ` erik quanstrom
2005-10-01 22:50             ` Jim McKie
2005-10-01 23:43               ` erik quanstrom
2005-10-01 13:50           ` Russ Cox
2005-10-01 18:28             ` Devon H. O'Dell
2005-10-01 14:28       ` Charles Forsyth
2005-10-01 14:20     ` Charles Forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050930190101.3CAC094755@dexter-peak.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    --cc=devon.odell@gmail.com \
    --cc=forsyth@terzarima.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).