[comp.sys.sgi] Porting from SGI to IBM R6000 machines

FL17@DLRVMBS.BITNET (12/24/90)

To: 			info-iris@brl.mil			23-Dec-1990

Porting programs from SGI to IBM R6000

We are facing a peculiar situation where we havn't seen a IBM Risk 6000
machine yet but are asked to port programs from SGI 4D70GT and 4D25TG machines
to a remote IBM R6000 machine within a day or so using magnetic tape. The IBM
has a so-called 3D-adapter along with a z-buffer and supports the SGI GL.
That's all we know. Questions are:

	- Regarding 'tar', is the IBM byte or word or byte+word swapping
	  when 'tar' is invoked ? Any precautions to take when archiving
	  SGI programs by means of 'tar' and attempting to extract the
	  archive on the IBM machine ?

	- What changes are to be expected regarding the make files ?
	  A typical makefile for our programs is:

		SHELL=/bin/sh
		PROGS= gener sectors times
		LDFLAGS = -lgl_s -lm -lfm_s -lbsd
		CFLAGS  = -O -I/usr/include/gl -I/usr/include/bsd

		all:	$(PROGS)
		.c:
			$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)

	- What problems are to be expected on the IBM machine for a highly
	  interactive multiple window program making heavy use of event
	  queuing ?

	- Any other traps we might encounter ?

Admitting that this is a rather peculiar situation I would appreciate any
comments which might be usefull.

Thanks in advance and season's greetings.

Ralf Beyer

---------------------------------------------------------------------
Ralf Beyer	| German Aerospace Research Establishment
		| Braunschweig Research Center
		| Institute for Flight Guidance
		| Flughafen
		| D-3300 Braunschweig, Fed. Rep. of Germany
		| Phone: (0531) 395-2530
		| Fax:	 (0531) 395-2550
		| Email:         fl17@dlrvmbs.bitnet
		| Email (local): beyer@bflsgu
---------------------------------------------------------------------