Re: Access to a ridiculous computer? :-D
- From: Thad Smith <ThadSmith@xxxxxxx>
- Date: Tue, 01 Jan 2008 17:58:14 -0700
"Tom��������������������������������" wrote:
Has anyone here got access to a ridiculous computer? Something like:
CHAR_BIT == 9
PADDING_BITS(int) != 0
NUMBER_SYSTEM == SIGN_MAGNITUDE
Null pointer bit pattern == All ones
I'm writing some fully-portable code and would love to actually compile it for, and test it on, a very strange machine :-D
Such a machine would be interesting for testing portability. The best solution is a configurable simulator and compiler that lets you specify many of these implementation-defined and otherwise variable attributes.
Writing the simulator sounds interesting -- writing a configurable compiler seems like a lot of work!
Perhaps something based on a C language interpreter would be better. Are there any C interpreters that would make a good starting point for a configurable target?
--
Thad
.
- References:
- Access to a ridiculous computer? :-D
- From: Tomás Ó hÉilidhe
- Access to a ridiculous computer? :-D
- Prev by Date: Re: problem with sizeof
- Next by Date: pointer addition with structs
- Previous by thread: Re: Access to a ridiculous computer? :-D
- Next by thread: Re: Access to a ridiculous computer? :-D
- Index(es):
Relevant Pages
|