X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs- Message-ID: <19981014213706.C270@cerebro.laendle> Date: Wed, 14 Oct 1998 21:37:06 +0200 From: Marc Lehmann To: beastium Subject: Re: Pgcc and Imake? Mail-Followup-To: beastium References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Shawn Leas on Tue, Oct 13, 1998 at 06:09:43AM -0500 X-Operating-System: Linux version 2.1.125 (root AT cerebro) (gcc version pgcc-2.92.09 19980921 (gcc2 ss-980609 experimental)) Status: RO Content-Length: 1559 Lines: 42 On Tue, Oct 13, 1998 at 06:09:43AM -0500, Shawn Leas wrote: > > > I just tried it with XFree86, which won't build with pgcc v1.1. (By > > > "won't build" I mean that the symbol LinuxMachineDefines is not > > > evaluated.) The #ifdef change resulted in XFree not being able to find > > > some of its header files. > > > > > My fix is the one I've found so far that works 'universally'. Yes, of course, the checks to i386 must be replaced by checks to __i386 as well ;() > > You will find a section that looks like this: > > Modify it to look like this: This will break all non-x86 builds (but of course works there!). How about #ifdef __linux #define linux #endif #ifdef __i386 #define i386 #endif But fixing the imake source seems to be more viable ;) > > where this problem originates from, but it required recompiling *all* my X > > apps. The programs could not load the 'old' libraries. This is not much a Hmm, my netscape (4) works nice with the libs compiled by pgcc (ok, I had to recompile motif, but thats not a problem with the static version). What kind of errors do you get? Undefined symbols? Which ones? -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e| -=====/_/_//_/\_,_/ /_/\_\ --+ The choice of a GNU generation | |