delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/21/15:50:10

Date: Wed, 21 May 1997 12:43:49 -0700 (PDT)
From: KaRNaGE <dlydiard AT linknet DOT kitsap DOT lib DOT wa DOT us>
To: Dj Delorie <djgpp AT delorie DOT com>
Subject: Re: PGCC Problems
Message-ID: <Pine.GSO.3.96.970521123530.7134A-100000@linknet.kitsap.lib.wa.us>
MIME-Version: 1.0


i have gotten allegro 2.2 to compile with the PGCC patch...you have to
edit the switches in the makefile:


OFLAGS =  -O6 -mpentium -ffast-math -fomit-frame-pointer
Basically i took out the -m486 (which gave you the allignment errors)

then in CFLAGS you have to take out the -Werror
because you will get warnings about comparing unsigned with signed
variables....but those are the only warnings i got (which have always
been there, but -Wall now turns on that warning)....but allegro works fine
with the PGCC patch....BTW demo.c will NOT compile at all though (and it
should stop on that file when makeing) because there's a pagefull of
errors =)..but liballeg.a compiles just fine....


>        I have installed (and later un-installed) the PGCC patches. When
>I
>use
>them to compile, I often get errors I do not recognise, and cannot fix.
>To
>check it wasn't my code, I tried recompiling Allegro 2.2. The following
>text was grabbed straight to the clipboard from a DOS box in Win95:-


- Raw text -


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