[power-gnu-discuss] gcc option for e500v2

Nathan Sidwell nathan at codesourcery.com
Fri Oct 12 06:37:37 UTC 2007


Liu Yu-B13201 wrote:
> Hi all,
> 
> I am using the cs-released gcc-4.1.78 which configured for e500v2. It
> has some special optimization options such as "-mcpu=8548 -mspe=yes
> -mabi=spe -mfloat-gprs=double". Can anyone tell me what effect they can
> make?

What is unclear in the manual about these options?  If you have specific 
questions that are not answered there, we can improve the documentation.

> In fact, if these optimization options are necessary while building
> package, I need to configure them set default. 

The '-te500v2' option is sufficent to target the e500v2 core.

> BTW, option "-m64" is not support on my target. When use this option,
> the error info is like below:
> 
>> powerpc-linux-gnuspe-gcc -m64  test.c
> test.c:1: error: -m64 not supported in this configuration
> 
> Does anyone know how to enable it?

The toolchain does not target 64 bit systems.

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery




More information about the power-gnu-discuss mailing list