Mail Archives: pgcc/1999/07/26/15:06:37.1
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 -