www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/05/21/05:33:42

Date: Sun, 21 May 2000 11:34:29 +0200
From: Nick <girardi AT keycomm DOT it>
To: pgcc AT delorie DOT com
Subject: pgcc fails to create binaries
Message-ID: <20000521113429.A342@pcioggi.witcom.net>
Mime-Version: 1.0
User-Agent: Mutt/1.0.1i
Reply-To: pgcc AT delorie DOT com

Hi all,

I know that pgcc doesn't fail creating binaries, but that a mistake
of mine compromised everything :) I'm not subscribed to this mailing list,
so if you have an answer, please reply in private.

So, here's the story.

I wanted to compile pgcc to make a package .tgz for my Slackware system,
so that I would have been able to recompile Slackware packages from
source to get them optimized for my Celeron. (Slackware packages are built
for 386 systems...)

This is what I've done:

1. Booted into Debian
2. cd /usr/src, untarred gcc-2.95.2 and gcc-g++-2.95.2
3. applied the patch (patch -p1 -E < ~nick/gcc-2.95.2-pgcc-2.95.3.diff),
   nothing was rejected.
4. cd gcc-2.95.2
5. ./configure --prefix=/usr/src/pgcc-inst --host=i686-slackware-linux
6. make && make install

Then I rebooted into Slackware, and made the package, that I installed
soon after I removed egcs and gcc packages.

If I issue gcc foo.c -o foo

$ cat foo.c
int main(void)
{
 return 1;
}

the compiler hangs and I have to kill it (C-c).

Thanks in advance,
Nick

- Raw text -


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