[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Recommend place to set CXXFLAGS="-O2 -mcpu=xscale -mtune=xscale"

On Fri, 1 Feb 2008 06:58:41 -0800 (PST)
slugmanbashi <coutts_dave@hotmail.com> wrote:

> Id appreciate it if someone could advise how and where CXXFLAGS
> should be set and how one checks if the flag was applied post compile
> job.

I've compiled libtorrent/rtorrent many times on the NSLU.
All you need to do (before starting .configure) is:

export CXXFLAGS="-mcpu=xscale -mtune=xscale"

The -O2 should be the default, so it makes no difference to add that.

You should see the following during .configure after exporting the

checking for user-defined CXXFLAGS... user-defined "-mcpu=xscale


Reply to: