Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: h0l0gRaM <hgm@saunalahti.fi>
Subject: Re: compiling with ccc/cxx
Date: 2000/05/24	[thread overview]
Message-ID: <392C0580.6987CEFB@saunalahti.fi> (raw)
In-Reply-To: 392B3A2C.8B0CB68@hotmail.com

"William A. Welch III" wrote:

> Hey everybody,
>
>         I'm sure that I'm like everyone else when I find myself constantly
> downloading both new (e.g. Mozilla) and older (e.g. Quake) programs to
> play with.  Of course everything comes with the ubiquitous "configure"
> script to set up everything for you.
>
>         So my question is: How do I modify the included files so that my
> programs compile with ccc/cxx?  And additionally, how do I modify these
> files to use my optimization flags.
>
> Thanks ahead of time,
>
> Bill Welch

For fast code (optimization)

CC="ccc -O4 -fast"  CXX="cxx -O4 -fast -std gnu" ./configure
some programs want -g added ,use -g3 instead of -g on ccc/cxx

you can put these on environment like this
(export/setenv)
CFLAGS="-O4 -fast"
CXXFLAGS="-O4 -fast -std gnu"
CC=ccc
CXX=cxx

--
Bahdges?  We don't need no stinkin' bahdges!
                -- "The Treasure of Sierra Madre"






  parent reply	other threads:[~2000-05-24  4:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-23  4:00 compiling with ccc/cxx William A. Welch III
2000-05-24  4:00 ` Bram Stolk
2000-05-24  4:00 ` h0l0gRaM [this message]
2000-05-24  4:00   ` William A. Welch III
2000-05-24  4:00     ` Tony Hammitt
2000-05-25  4:00       ` Ed Koshimoto
2000-05-25  4:00       ` Spuggy Loonpant
2000-05-24  4:00 ` Edwin Koshimoto
2000-05-24  4:00 ` Christian Weisgerber
  -- strict thread matches above, loose matches on Subject: below --
2000-06-28  4:00 Compiling " William A. Welch III
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox