• Pass in an immediate value to an inline assembly function

    Mike Handler
    Mike Handler
    Note: This was originally posted on 6th March 2009 at http://forums.arm.com

    Hi,

    I would like to pass in an immediate value to an inline assembly function, such as in this example:

    inline int foo(int a, int b, const int immed)
    {
       register int result;…
    • over 6 years ago
    • Software Tools
    • Arm Compilers forum
  • Key difference between GCC arm-none-eabi and arm-eabi

    techguyz
    techguyz

    Hi Experts,

    For Cortex R and M processors Linaro has recommended the GCC arm-none-eabi 4.9 whereas for A series processors it is recommending normal GCC eabi.

    what is the key difference between the same ?

    Regards,

    Techguyz

    • Answered
    • over 4 years ago
    • Software Tools
    • Arm Development Studio forum
  • arm-elf-gcc compiling for cortex-M4

    Jo Van Montfort
    Jo Van Montfort

    How to use GNU ARM binutils for cortex-M4? When I try to compile with -mcpu=cortex-M4 -march=armV7e-m I get 'bad value in switches'.

    • Answered
    • over 5 years ago
    • Software Tools
    • Arm Development Studio forum
  • armcc compile c   error  under DS-5 tool

    zg
    zg

    The example about c++ progran under DS-5 CPP directory is compiled by me with the armcc ,not gcc.  But there is an error when compile。

    Error: C3321E: automatic configuration failed - could not determine configuration from GCC

    make: *** [arm_linux_config…

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • GCC for ARMv7-A - Where can I get the latest version?

    Haris
    Haris

    Hello,

    I would like to download the GCC compiler for ARMv7-A. I would like it to support thumb and NEON instructions. Where can I get the latest version?

    Also, are there any other open source compilers that meet the above requirements?

    Thanks

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • unknown symbol __aeabi_uldivmod is causing my kernel module not to load. Any ideas as to why I'm seeing this? I am using gcc 4.7.2 for both the compilation of the kernel and the kernel module.

    Chris Adeniyi-Jones
    Chris Adeniyi-Jones

    I am compiling on an Exynos 5250-based board with Ubuntu filesystem.

    gcc -v

    Using built-in specs.

    COLLECT_GCC=gcc

    COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.7/lto-wrapper

    Target: arm-linux-gnueabihf

    Configured with: ../src/configure -v --with-pkgversion…

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Gcc compiler/toochain for ARMv8 ?

    Shankar
    Shankar

    In open source which is gcc cross toolchian available which can support AARCH32 and AARCH64 based on –mabi flag ?

    In gcc documentation, supported values for –mabi are ilp32 and lp64. But when I tried linaro released toolchain crosstool-NG linaro…

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Compiler support for arch v7 & arch v8

    techguyz
    techguyz

    Hi all,

    How about the GCC compiler support of ARM arch v8 has been given. Is it full fledged, with all the options provided by ARMCC or it needs to be updated yet in future. I mean support for armcc Vs gcc

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • How to add epilog and prolog in ARM compiler compiled code ?

    Neo
    Neo

    g++  provides an option  -pg   which allows to write epilg and prolog for functions

    Does gcc does not have  such  an option?

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • Do we have any official benchmark comparing ARM and GNU compilers?

    Senthil Kumar Rajagopal
    Senthil Kumar Rajagopal

    Hello,

    Few of my customers started to have concerns on the quality of the GNU`s GCC compilers.

    Before I talk about the performance gain in using the ARM compiler to my clients, I would like to know is there any

    official compiler benchmark comparing the…

    • Answered
    • over 6 years ago
    • Software Tools
    • Arm Development Studio forum
  • View related content from anywhere
  • More
  • Cancel