gcc 2.96 on Fedora Core 1

James Wilkinson james at westexe.demon.co.uk
Thu Jun 17 16:54:31 UTC 2004


Flavius Copaciu wrote:
> The question is: how do I tell “make” to use gcc 2.96 instead of gcc 
> 3.3.2 ?

I don't have a 2.4.x tree around any more, but I don't think that this
has changed much...

In linux/Makefile, there are four lines
HOSTCC          = gcc
HOSTCXX         = g++
HOSTCFLAGS      = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
HOSTCXXFLAGS    = -O2

(You may not have the CXX lines: IIRC these are only for the new 2.6
make xconfig, which needs bits of KDE, which means C++).

Try those.

HTH,

James.

-- 
E-mail address: james@ | For every complex problem, there is a solution that
westexe.demon.co.uk    | is simple, neat, and wrong.





More information about the fedora-list mailing list