[net.unix-wizards] INGRES for 68Ks

vjh@wjh12.UUCP (Harward) (08/23/83)

	We have been trying to bring up INGRES on a Pixel 100 68000
based system using the VAX 4.1 version.  We can get it to compile, but
it clearly is not working.  We also have the new 2.9 version available.
Suggestions would be welcome.
	Also, does anybody know if a CUPID source is available for an
11/44 or a 68000.
	Replies to !genrad!wjh12!vjh.

					Jud Harward
					Computer Based Laboratory
					Harvard University

mogul%Shasta%su-score@sri-unix.UUCP (08/25/83)

From:  Jeff Mogul <mogul%Shasta@su-score>

I've ported many a program between Vaxen and 68000s.  There are things
that people usually ignore when writing code that screw up such ports:
	(1) Vaxen/PDP11s use a different byte-ordering from 68ks.  This
shows up almost every time strong typing is violated, especially
with casts and unions.
	(2) If you pass the address of a long or a short to a routine that
expects the address of a short or a byte, resp., the "right" thing MIGHT
happen on VAX/PDP-11, but probably not on a 68k.
	(3) Similarly, depending on your compiler you might have to
be more careful about getting the return-type declaration right for functions.
	(4) Code which deals with external representations, such as disk
files or network packets, has to face the byte-order problem square in the
face.

-Jeff