K
keith
- Jan 1, 1970
- 0
Ok, I'll include that limitation to the scope of the argument. Things
like the transputer are alos off the table. I think they are too weird to
make a C compiler for. We can limit the discussion to only those machines
for which a reasonable C compiler can be written.
OTOH, I know people who use C compliers for 8051s. I couldn't figure out
how to make it all work. (again, I'm a hardware type and think in RTL and
assembler)
[...]
I think if you make that statement over on comp.arch you'll get a
lot of argument. AIUI (I'm just a hardware type, can't spell 'C')
it is possible to write portable 'C', but it's not trivial.
For simple programs it may be possible to do but you'd better watch
it if you use strings. In some cases it is best to just store one
character per integer.
Are you man enough to take it to C.A? Trust me, you'll get chewed up
and spit out by people who do just this for a living.
Consider it taken there if I did the headers right.
No, not C.A.C. It might work, but I meant C.A. I've seen exactly this
argument before in C.A. I've never followed C.A., since I'm a hardware
type. A Google NG search might keep from upsetting the natives too. ;-)
If we don't get a reaction, one us will have to change the groups line.
I did not because it is way too early to expect any reaction.
I added C.A. Though it may be a stale subject...
But ... but ... are they porting to microcontrollers etc. In the
general purpose computer world things can be quite different. Companies
like Prime and DEC no longer exist so there aren't many non-byte
oriented general purpose computers any more.
They've been doing it for decades. I've heard of very little x86 (32b)
Linux code that isn't an "automatic" recompile to 64b. Of course 64b
isn't new in the *ix world.
I thought you did. Maybe I confused you with some other poster. Sorry
if I did.
's ok. My statement is based on experts' opinions that porting isn't
rocket surgery, but rather attention to detail. Sloppy is bad news and
'C' allows one to be as crude and rude as one is.
Well we will see if this get more hash or just ignored. Fasten your
seat belt, it may be a bumpy ride.
Ok... ;-)