Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Måns Rullgård" <mru@inprovide.com>
Subject: Re: compiling, optimization
Date: Tue, 11 Apr 2006 20:58:48 +0100	[thread overview]
Message-ID: <yw1x64lf7ukn.fsf@agrajag.inprovide.com> (raw)
In-Reply-To: 443bf1ad$0$7486$9b536df3@news.fv.fi

juhana paavola <juhana.paavola@gmail.com> writes:

> On 2006-04-10, Levente <tappatdjur@hotmail.com> wrote:
>> Hello
>>
>> I have a question on the topic of config files and CFLAGS...
>> ...it can be set on various places:
>> 	1. the softwares own source directory with
>> 	"make configure" or poking by hand
>> 	2. in some files in /etc, such as /etc/make.conf...
>> 	3. globally with export CFLAGS=...
>>
>> Now, I want to define CFLAGS so that it has higher authority than
>> anything, kind of like the word of GOD...
>> - Is there a way to define CFLAGS and other compiler related
>> flags so they override anything in any file?
>> - Does the globally defined (env var) CFALGS have higher authority
>> than the various config files?
>> - What manual covers this?
>>
>> wbr
>> /levente
>
> You can try like this:
> $ CFLAGS="-O4 -mieee" make

GCC has only three levels of optimization, anything higher is treated
as -O3.  Using -mieee is generally advisable on Alpha, unless it is
known that the application in question doesn't need it.  Those
applications that work without it will run faster if it is omitted.

-- 
M�ns Rullg�rd
mru@inprovide.com


  reply	other threads:[~2006-04-11 19:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 14:11 compiling, optimization Levente
2006-04-11 18:13 ` juhana paavola
2006-04-11 19:58   ` Måns Rullgård [this message]
2006-04-16 22:30 ` DiskMan
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