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
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?