www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/07/26/15:06:37.1

Date: Mon, 26 Jul 1999 09:35:26 +0200
To: pgcc AT delorie DOT com
Subject: Re: Compling Kernals with PGCC
Message-ID: <19990726093526.D19462@cerebro.laendle>
Mail-Followup-To: pgcc AT delorie DOT com
References: <001b01bed52c$0c793560$4600a8c0 AT adgdev02>
Mime-Version: 1.0
In-Reply-To: <001b01bed52c$0c793560$4600a8c0@adgdev02>; from Adam Norton on Fri, Jul 23, 1999 at 11:54:33AM -0500
X-Operating-System: Linux version 2.2.10 (root AT cerebro) (gcc driver version egcs-2.91.66 19990314 (egcs-1.1.2 release) executing gcc version 2.7.2.3)
From: Marc Lehmann <pcg AT goof DOT com>
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, Jul 23, 1999 at 11:54:33AM -0500, Adam Norton wrote:
> What are the issues about compliling Linux kernals Xservers etc. with PGCC.
> Will it go out of the box? Or will I get to make changes?

* Newer kernels (2.3.x, but NOT 2.2.x!) already have the necessary fixes to be
  compiled (I have not tried it, though). USe this line in the top Makefile:

  CFLAGS += $(shell if $(CC) -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-fno-strict-aliasing"; fi)

* X seems not yet to be ready for the next gcc and pgcc versions. My X is
  fully compiled with pgcc, yet the font libraries are known to break.

* glibc also needs fixes for the next gcc and pgcc version, I recommened to
  use the following cflags until this is done:
  -D__NO_MATH_INLINES -D__NO_STRING_INLINES

All of this is valid for current or soon-to-be-current gcc, egcs and pgcc
versions, not specific to pgcc, which might have additional problems.

> Completely new to Linux so if this is a dumb question forgive me. I know C, C++

The problem is that the answer changes monthly ;->

--  
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       pcg AT goof DOT com      |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

- Raw text -


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