compiling assembly codes with gcc for mpc56xx

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

compiling assembly codes with gcc for mpc56xx

ソリューションへジャンプ
4,003件の閲覧回数
farozeibnejava
Contributor III

hi,

i'm trying to compile n assembly code for mpc5643l using gnu gcc compiler but am getting of unrecognized opcode; note that this error does not come up for all insrtuctions. following is the command im using:

 

 

powerpc-eabi-gcc -O0 -g3 -Wall -c -fmessage-length=0 -fno-common -MMD -MP -MF"main.d" -MT"main.d" -mcpu=common -mfloat-gprs=single -eabi=vle -mspe -misel=yes  -msoft-float -mbig -mabi=spe -o test test003.S

start_PBL.s: Assembler messages:

start_PBL.s:19: Error: Unrecognized opcode: `e_or2is'

 

thnx

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
2,349件の閲覧回数
farozeibnejava
Contributor III

Morning,

My problem was of vle instructions support in gcc not freescale compiler. The vle patch is present but gcc has not included in its main stream powerpc compiler toolchain because it was somehow breaking support for some non-vle supporting powerpcs. Vle patch , however, was included in the codebench csgnu gcc version 2013.

Regard,

ibnejava

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,349件の閲覧回数
Monica
Senior Contributor III

Hello Faroze,

have you had the chance to work on that?

don't forget about us, please keep us posted :smileywink:

Best,

Monica.

0 件の賞賛
返信
2,350件の閲覧回数
farozeibnejava
Contributor III

Morning,

My problem was of vle instructions support in gcc not freescale compiler. The vle patch is present but gcc has not included in its main stream powerpc compiler toolchain because it was somehow breaking support for some non-vle supporting powerpcs. Vle patch , however, was included in the codebench csgnu gcc version 2013.

Regard,

ibnejava

0 件の賞賛
返信
2,349件の閲覧回数
Monica
Senior Contributor III

Thanks much for sharing!

Have a great weekend!

Monica.

0 件の賞賛
返信
2,349件の閲覧回数
trytohelp
NXP Employee
NXP Employee

Hi,

Sorry for the delay.

Can you please provide me more details about the tool used ?

To do that you must:

  Under CodeWarrior IDE (classic)

      Start the IDE and click on Help | About Freescale CodeWarrior.

      Click on Installed Products 

      Provide us all info displayed.

      Or you can save them in a txt file.

  Under Eclipse IDE

    1-      Start Eclipse and click on Help ¦ Freescale Licenses

      The Status column gives the status of the license.

      Under Product, select it and click on details.

      A new dialog show up giving license details.

      Provide us all info displayed

    2-      Start Eclipse and click on Help ¦ About CodeWarrior Development Studio

      Under Installed Products, you will see the version used.

Can you please share us the source file generating the error ?

Regards

Pascal

0 件の賞賛
返信