www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/04/08/08:44:34

X-pop3-spooler: POP3MAIL 2.1.0 b 3 961213 -bs-
Delivered-To: pcg AT goof DOT com
Message-ID: <001201bd62ca$219a0620$0647f0c7@frodo>
From: "Nick Shreders" <nickshreders AT cjnetworks DOT com>
To: <beastium-list AT Desk DOT nl>
Subject: Re: Pggc Problems
Date: Wed, 8 Apr 1998 03:41:30 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 30

>Finally..I tried to compile 2.0.33 kernel using pgcc with -mpentium
>- -06...got all the way through the compile with nothing but warnings
>about
>signed and unsigned comparisons but when it started to write out the
>kernel
>it did this:


> compressed/vmlinux.out; \
>else \
>  objcopy -O binary -R .note -R .comment -R .stab -R .stabstr
>compressed/vmlinux
> compressed/vmlinux.out; \
>fi
>tools/build bootsect setup compressed/vmlinux.out CURRENT >zImage
>make[1]: *** [zImage] Error 139
>make[1]: Leaving directory `/usr/src/linux-2.0.33/arch/i386/boot'
>make: *** [zlilo] Error 2


Well, the way I build the kernels with pgcc 1.01 is this:

make CFLAGS="-O6 -mpentium -DCPU=586 -fno-risc -pipe" zImage

.... then the same for modules.

For the 2.0.x kernels you may have to get an ioport.c file from the 2.1.x
tree and replace it. You should do it even if you plan on running X anyway,

BTW, i got 2.1.93 to work fine with pgcc as well.

- Raw text -


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