X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs- Date: Tue, 13 Oct 1998 18:09:43 -0500 (CDT) From: Shawn Leas To: Jason Ahrens Cc: Steven Snyder , Marc Lehmann , beastium Subject: Re: Pgcc and Imake? In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Marc Lehmann Status: RO X-Status: A Content-Length: 2180 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 > # define MacroFile linux.cf > # undef linux > > > Modify it to look like this: > #ifdef linux > # define i386 > # define MacroIncludeFile > # 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. <============================================>