Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

Re: [power-gnu-discuss] gcc option for e500v2


  • To: Liu Yu-B13201 <B13201@xxxxxxxxxxxxx>
  • Subject: Re: [power-gnu-discuss] gcc option for e500v2
  • From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
  • Date: Fri, 12 Oct 2007 07:37:37 +0100

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