On Fri, 1 Feb 2008 06:58:41 -0800 (PST)
slugmanbashi <[EMAIL PROTECTED]> 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
CXXFLAGS:

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

Al


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to