Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!think!ames!sdcsvax!ucbvax!tekcrl.tek.COM!toddb From: toddb@tekcrl.tek.COM (Todd Brunhoff) Newsgroups: comp.windows.x Subject: Re: Siemens RTL Tiled Window Manager Message-ID: <8709221827.AA26213@tekcrl.TEK.COM> Date: Tue, 22-Sep-87 14:27:25 EDT Article-I.D.: tekcrl.8709221827.AA26213 Posted: Tue Sep 22 14:27:25 1987 Date-Received: Thu, 24-Sep-87 06:42:51 EDT References: <8709211510.AA02349@audi.siemens.com> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 41 Could I persuade you to make RTL available as a sun .o file? Given this, I can relocate the binary to another machine whose processesor is a 68000- family. The creation of this .o file can be a bit painful, but would be worthwhile to me... the question is, would it be for you, too? There are two methods to create a "portable" .o file: 1. With all library references resolved. This approach has the advantage that all my troubles are reduced to worrying about the incompatibilities between sun's system call interface and the "other" machine's interface. It has the disadvantage that if you cannot compile and link everything on a sun 3, it will be impossible for me to continue because of the floating point/long integer library incompatibilities. This approach takes more time; you need a special libc.a that has all of the system calls removed (e.g. open, read, write, socket, close, etc.) Then you link using the -r option to ld: ld -o rtl.obj -r *.o special-libc.a -lX11 this .o file can be linked again against my own libc. 2. With all library references unresolved. This method has the advantage that any bug fixes to Xlib can be achieved simply by relinking with the "fixed" xlib. It has the disadvantage that if the sun has different structure declarations for system structures (like stat, timeval), then there are more headaches in making the program work. This method is a bit easier: simply link all the rtl-specific .o files together using the -r flag and you're done. ld -o rtl.obj -r *.o I will appreciate it if this is within the range of things you are willing to do, but will understand if it is not. Please respond either way. PS Please note that I am no longer at Project Athena. --------------- Usenet: {ucbvax,decvax,allegra,uw-beaver,hplabs}!tektronix!crl!toddb {CS,ARPA}net: toddb%crl.tek.csnet@relay.cs.net c--Q Q US: Todd Brunhoff; Computer Research Lab; Tektronix, Inc. ` Box 500 MS 50-662, Beaverton OR 97077 - Phone: (503) 627-1121