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

Re: XGL powerbook 15"



At Thu, 4 May 2006 03:13:53 +0200, Federico Pistono wrote:
> 
> configure:2420: g++ -O4 -march=pentium-m -mtune=powerpc -pipe -fomit-frame-pointer -ffast-math   conftest.c  >&5
> cc1plus: error: invalid option 'arch=pentium-m'
>
> ac_cv_env_CFLAGS_value='-O4 -march=pentium-m -mtune=powerpc -pipe -fomit-frame-pointer -ffast-math'
> ac_cv_env_CXXFLAGS_value='-O4 -march=pentium-m -mtune=powerpc -pipe -fomit-frame-pointer -ffast-math'

Wouldn't hurt to check this:
http://gcc.gnu.org/onlinedocs/gcc-4.0.3/gcc/RS_002f6000-and-PowerPC-Options.html#RS_002f6000-and-PowerPC-Options

Thus, something like the following should work:
export CFLAGS="-O3 -mcpu=G4 -mtune=G4 -pipe -fomit-frame-pointer"

Cheers,
Ruben



Reply to: