HI,
I have a .s file in my project but the arm compiler can't recognize the file.
Do you know how to compile the .s file through arm 6?
Another question is that I want to use arm compiler 5 and install/imported in armds,however, when using evaluation version of ide the error occurred for license problems,
How to fix that?
Reguards,
Alex
here is the picture of the error page
armclang.exe --target=arm-arm-none-eabi -mcpu=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -marm -g -c -o "hwlibs/src/alt_bridge_f2s_armcc.o" "../hwlibs/src/alt_bridge_f2s_armcc.s"
You can easily address this by adding -masm=auto to your assembler settings(In GUI, go to Project Settings > C/C++ Build > Settings > Arm Assembler 6 > Miscellaneous > Assembler Syntax).Arm Compiler 5 is very old, and no longer supported. For that reason it is also not enabled by an evaluation license.
Is that available on GOLDEN?
Also, can I use arm compiler 4 at 21.1 for evaluation/golden?
Thank you
Yes, the Gold Edition license will enable all older versions of the compiler. The eval license will not.
HI, @Ronan
Please forgive me for another question for this closing thread,
I'm using make to build the project, but it turns to be arm compiler 5 Makefile.
Could I turn that to be compiler 6 edition Make file?
The following is the order:
armcc -g -O0 --c99 --strict --diag_error=warning --diag_suppress=9931 --cpu=Cortex-A9 --no_unaligned_access -Ilib -Ihwlib/include -Ihwlib/include/soc_cv_av -Ihwlib/include/soc_cv_av/socal -ID:\board\cyclone_V_soc\intel-socfpga-hwlib\tools\newlib\usr\arm-eabi/include -Dsoc_cv_av -DALT_FPGA_ENABLE_DMA_SUPPORT=1 -D_USE_STDLIB -DALT_BRIDGE_PROVISION_F2S_SUPPORT -DCYCLONEV -DPRINTF_HOST -c hwlib/src/hwmgr/alt_address_space.c -o objs_ARMCC_CYCLONEV/alt_address_space.o
Thanks
Hi Alex,
See the Arm Compiler for Embedded Migration and Compatibility Guide, specifically:https://developer.arm.com/documentation/100068/0620/Migrating-from-armcc-to-armclang/Migration-of-compiler-command-line-options-from-Arm-Compiler-5-to-Arm-Compiler-for-Embedded-6
The above command line becomes something like the below - I believe warning 9931 is a license expiring warning. If you still need to suppress it, you can use -Wno-xxx, where xxx is the warning string generated by armclang.
armclang -g -O0 -std=c99 -pedantic-errors --target=arm-arm-none-eabi -mcpu=cortex-a9 -mno-unaligned-access -Ilib -Ihwlib/include -Ihwlib/include/soc_cv_av -Ihwlib/include/soc_cv_av/socal -ID:\board\cyclone_V_soc\intel-socfpga-hwlib\tools\newlib\usr\arm-eabi/include -Dsoc_cv_av -DALT_FPGA_ENABLE_DMA_SUPPORT=1 -D_USE_STDLIB -DALT_BRIDGE_PROVISION_F2S_SUPPORT -DCYCLONEV -DPRINTF_HOST -c hwlib/src/hwmgr/alt_address_space.c -o objs_ARMCC_CYCLONEV/alt_address_space.o
Hi,
here is the new error:
D:\board\cyclone_V_soc\intel-socfpga-hwlib\tools\newlib\usr\arm-eabi/include\sys/_types.h:167:5: error: unknown type name 'wint_t' wint_t __wch; ^1 error generated.
from the newlib of linaro
Any ideas?
This is defined in wctype.h (at least it is with armclang).
Is that means the error should not showed up if the environment is correct?