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
Solved! Go to Solution.
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
Hello Faroze,
have you had the chance to work on that?
don't forget about us, please keep us posted :smileywink:
Best,
Monica.
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
Thanks much for sharing!
Have a great weekend!
Monica.
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