www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/10/14/20:09:05

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 <pcg AT goof DOT com>
To: beastium <beastium-list AT Desk DOT nl>
Subject: Re: Pgcc and Imake?
Mail-Followup-To: beastium <beastium-list AT desk DOT nl>
References: <Pine DOT LNX DOT 3 DOT 96dg4 DOT 981013181719 DOT 2185A-100000 AT Cougar DOT CanadianWilds DOT org> <Pine DOT HPP DOT 3 DOT 96 DOT 981013180747 DOT 20878C-100000 AT ixion DOT honeywell DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.93.2i
In-Reply-To: <Pine.HPP.3.96.981013180747.20878C-100000@ixion.honeywell.com>; 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
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                        |
                                                          |

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019