#78695 - acox - Sun Apr 09, 2006 12:37 am
I have some inline assembly that uses a v5 ARM instruction.
If I stick with the default arm920T flags, gcc barfs over the instruction.
If I set the cpu as in the topic of this post, linking fails as many people must have seen before (reproduced below).
I obv. am not using VFPU instructions and in fact I can live without any floating point at all if that could fix me problem.
Can anyone help me either:
1) Trick gcc into letting the v5 instruction pass while compiling for 920T.
2) Make the arm946e-s target work.
Thanks a lot.
Andrew
_________________
3D on GBA
If I stick with the default arm920T flags, gcc barfs over the instruction.
If I set the cpu as in the topic of this post, linking fails as many people must have seen before (reproduced below).
I obv. am not using VFPU instructions and in fact I can live without any floating point at all if that could fix me problem.
Can anyone help me either:
1) Trick gcc into letting the v5 instruction pass while compiling for 920T.
2) Make the arm946e-s target work.
Thanks a lot.
Andrew
Code: |
$ make linking fixed.elf j:\devkitpro\devkitarm\bin\..\lib\gcc\arm-elf\4.0.2\..\..\..\..\arm-elf\bin\ld.e xe: ERROR: main.o uses VFP instructions, whereas k:/my_devkitPro/fixed/fixed.elf does not j:\devkitpro\devkitarm\bin\..\lib\gcc\arm-elf\4.0.2\..\..\..\..\arm-elf\bin\ld.e xe: failed to merge target specific data of file main.o make[1]: *** [/k/my_devkitPro/fixed/fixed.elf] Error 1 make: *** [build] Error 2 |
_________________
3D on GBA