X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs- Date: Mon, 5 Oct 1998 18:58:00 -0400 (EDT) From: Jason Ahrens To: Marc Lehmann Subject: Re: pgcc1.1 installation In-Reply-To: <19981005234527.L300@cerebro.laendle> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Marc Lehmann Status: RO X-Status: A Content-Length: 1694 Lines: 43 On Mon, 5 Oct 1998, Marc Lehmann wrote: > Erhm, are you using a pgcc compiled for libc5 to compile and link programs > for glibc? This, of course, doesn't work. Well, this was my first stem in rectifying that... > To compile programs for glibc, you would need a compiler that is compiled to > work for glibc. That's what I was thinking, which is why I was trying to compile pgcc for glibc... > While its entirely possible to have a pgcc compiled _with_ libc5 _for_ glibc, > its rather unusual (that would be a cross compiler). At this point in time, that is looking like it's going to have to be an intermediate step maybe. > Which compiler came with your distribution? Or did you install glibc? I > _really_ suspect you are using a compiler configured for libc5 to compile > glibc programs, as that would explain why pgcc thinks it is using a > cross-compiler. I'm running a Slackware 3.4 (base) system. It had GNU 2.7.something originally. I replaced that with pgcc 1.0.3 long ago though. Then just recently I replaced that with pgcc 1.1 A few days ago then I decided to get glibc as some programs I want need it, so I used pgcc 1.1 (for libc5) to make my glibc (following the glibc howto) and then I figured it would be good as a first step probably to redo my compiler with it, just to be safe. Hence the reason I was trying to compile pgcc 1.1 (glibc) with pgcc 1.1 (libc5) > It isnt (yet), you have to compile it yourself. Hmm.. This leaves me in something of catch 22 now. I need a glibc compiler to compile a glibc compiler, but there is no precompiled glibc compiler available with which to do so... Do I have to do a cross compiler than as an 'intermediate' step? Jason