compiling hslibs/xlib

Jens Petersen petersen@redhat.com
04 Feb 2002 16:06:06 +0900


Jens Petersen <juhp@01.246.ne.jp> writes:

> "Julian Seward (Intl Vendor)" <v-julsew@microsoft.com> writes:
> 
> > Precisely what version of gcc are you using here?
> > (gcc -v)
> > 
> > This has been known to happen if you use the default
> > gcc on RedHat 6.1 and 6.2.
> 
> Good question.  Nothing so old, is the short answer I think.
> 
> The ghc I'm using is from Manuel's ghc-5.02.2-1 rpm (built
> on RH72 I believe) is probably with gcc-2.96.
> 
> I am building green-card and xlib with gcc from cvs!
> 
>         gcc version 3.1 20020131 (Red Hat Linux Rawhide 3.1-0.20)
> 
> Actually I wanted to build with gcc296, but it (rightly?)
> doesn't seem to like "-o" and "-c" in the same command:

Ok, scratch that!  (I was doing "make CC=gcc296".)
Seems it was a gcc-3.1 related problem. :-(

When I make green-card and xlib correctly with gcc-2.96
using "ghc -pgmc/usr/bin/gcc296", everything goes through
fine.

Sorry for the trouble,
Jens