Newsgroups: comp.unix.sysv386
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!ira.uka.de!fauern!NewsServ!!roell
From: roell@informatik.tu-muenchen.de (Thomas Roell)
Subject: Re: Roell's X11R4 link problems
In-Reply-To: dvb@emisle.uucp's message of 16 Jun 91 21: 44:12 GMT
Message-ID: <1991Jun20.073028.20816@Informatik.TU-Muenchen.DE>
Sender: news@Informatik.TU-Muenchen.DE
Organization: Inst. fuer Informatik, Technische Univ. Muenchen, Germany
References: <1991Jun15.155549.26115@uunet.uu.net> <1991Jun16.214412.1717@emisle.uucp>
Date: Thu, 20 Jun 1991 07:30:28 GMT
Lines: 29

>In summary: Use the following link libraries in all X programs that use X386
>(aka Roell X11R4):
>
>  -lX11 -linet -lpt
>
>Note that the -linet and -lpt must come AFTER -lX11, which of course should
>come after -lXm, -lolgx, -lXt or other associated libs.

Does anybody outthere use imake(n) at all ???? This program preprocesses
the Imakefile into a Makefile. This is done base upon some rules and defaults
(look at /usr/lib/X11/config !) And there is a special config-file: at386.cf
You just have to edit it (i.e setting the flags at the begin of the file and
defining your real platform if you're using the X386 binaries. There are some
important flags:

	HasGcc			Whether to use gcc or not (and instead link
				explicitely the gcc-gnulib)
	
	HasSockets		Use the real (OS-dep) socket-lib(s) or the
				emulation-lib.

All the rest is computed internally. Nice idea, isn't it ?

- Thomas
--
_______________________________________________________________________________
E-Mail (domain):	 roell@informatik.tu-muenchen.de
UUCP (if above fails):   roell@tumult.{uucp | informatik.tu-muenchen.de}
"If all else fails, read the intructions ..."
