www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/10/13/23:11:46

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
Date: Tue, 13 Oct 1998 18:09:43 -0500 (CDT)
From: Shawn Leas <sleas AT ixion DOT honeywell DOT com>
To: Jason Ahrens <jahrens AT magma DOT ca>
Cc: Steven Snyder <ssnyder AT indy DOT net>, Marc Lehmann <pcg AT goof DOT com>,
beastium <beastium-list AT Desk DOT nl>
Subject: Re: Pgcc and Imake?
In-Reply-To: <Pine.LNX.3.96dg4.981013181719.2185A-100000@Cougar.CanadianWilds.org>
Message-Id: <Pine.HPP.3.96.981013180747.20878C-100000@ixion.honeywell.com>
Mime-Version: 1.0
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 62

On Tue, 13 Oct 1998, Jason Ahrens wrote:

> On Tue, 13 Oct 1998, Steven Snyder wrote:
> 
> > I'm afraid it takes more than changing
> > 
> >   #ifdef linux
> > 
> > in the Imake.cf to
> > 
> >   #ifdef __linux
> > 
> > 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.
> > 
> > Sigh.  I sure would like to build XFree with pgcc.
> 
> My fix is the one I've found so far that works 'universally'.
> 
> That it involes is this change in the 'Imake.cf' file:
> 
> You will find a section that looks like this:
> #ifdef linux
> # define MacroIncludeFile <linux.cf>
> # define MacroFile linux.cf
> # undef linux
> 
> 
> Modify it to look like this:
> #ifdef linux
> # define i386
> # define MacroIncludeFile <linux.cf>
> # define MacroFile linux.cf
> # undef linux
> 
> (obviously this fix is only good for 'i386' machines)
> 
> However I ran into a huge problem with my pgcc compiled X. I don't know
> 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
> deal except for programs like netscape and star office for which I have no
> source. I got those working again by restoring my 'old' libraries to
> /usr/local/oldX11lib and writing a wrapper script for netscape, etc... to
> put an LD_LIBRARY_PATH=/usr/local/oldX11lib for them and they work again.
> I do not know the reason why that might have happened such, but it did. If
> anyone has any theories I'd be interested. I don't know if it's "fixable"
> or not.

This is the same problem run into with the KDE newbiles.  They recompile
QT with pgcc/egcs, and KDE won't run.  gcc bins can't load egcs/pgcc libs.

It is my impression that this is not fixable.  Just keep yer ol' libs 'round
like yer doin now.

-Shawn
<=========== America Held Hostage ===========>
   Day 2092 for the poor and the middle class. 
   Day 2111 for the rich and the dead.
   830 days remaining in the Raw Deal.
<============================================> 

- Raw text -


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