dyer@spdcc.COM (Steve Dyer) (12/20/89)
In article <8912191828.AA15605@jumbo> saltzer@SRC.DEC.COM (Jerome H Saltzer) writes: >I would guess that the problem is in the bit/byte order and word >length specifications. I suppose that the 386 is more like a PC >than it is like an RT or a VAX, even if you run BSD Unix on it. It has VAX byte order and 32-bit words. >I believe that the appropriate architectural parameter settings for >the 8086 (and therefore they may also work on the 386) were: > >#define BITS16 >#define LSBFIRST >#define IBMPC The defines for AIX PS/2, a 386 UNIX system are as follows: % more conf-aixps2.h #include <mit-copyright.h> #define BITS32 #define BIG #define LSBFIRST [EOF] Granted that the Sun 386i is a Berkeley-derived OS with its own C compiler, but I wouldn't expect the architecture-specific defines to differ between most 386 systems. -- Steve Dyer dyer@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer dyer@arktouros.mit.edu, dyer@hstbme.mit.edu