On Wed, Mar 27, 2002 at 10:17:31AM +0000, Mikhael Goikhman wrote:
> On 27 Mar 2002 01:52:17 -0500, Walter Dnes wrote:
> >
> > I'm currently working on getting CRUX linux ( http://crux.nu ) running
> > on my second machine. It's a lightweight, but up-to-date, highly
> > optimized linux. Everything is supposed to be optimized as "march=i686".
> > I've done the standard "./configure && make && make install" routine,
> > but tweaking compiler options is new to me. My first guess is something
> > like...
> >
> > set CFLAGS="-O2 -march=i686"
> > export CFLAGS
> >
> > Is this correct, and if not, what should I be doing ?
>
> If you do this before ./configure, it will use these optimizations in all
> tests (determining whether you have xpm, gnome-libs, stroke and all other
> supports). This may give bad test results in some CFLAGS cases, but it is
> usually ok. Additionally ./configure produces Makefiles with the given
> CFLAGS instead of the default "-g -O2 -Wall" or "-g -O2".
>
> "make" itself does not use environment $CFLAGS, it uses what is configured
> at ./configure time. But you may pass CFLAGS to "make" like this:
>
> % make clean
> % make all CFLAGS="-O3 -march=i686"
I don't recommend using -O3. THe last time I did that I got
random crashes (I think, can't remember exactly).
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Mar 27 2002 - 04:42:52 GMT