• armlink: symdefs generation

    Note: This was originally posted on 19th November 2008 at http://forums.arm.com

    Hi all,

    I use ARM linker, ADS1.2 [Build 848].
    I found some strangeness with generation of the Symbol Definitions file.
    So, what I do, step by step (with CodeWarrior):

    1. Project…
  • Pass in an immediate value to an inline assembly function

    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;…
  • How to change program counter in a C program?

    Note: This was originally posted on 7th January 2008 at http://forums.arm.com

    How to change program counter in a C program?
  • Compiled object size

    I have a few source files in which some const variables are required (same for all of those source file).

    In the provided framework there is a .hpp header file that includes definitions (not only declarations) of those variables and this header is included…

  • Hi folks, anyone got any idea on which compiler to use in Qemu for working with 64bit Arm Architecture? Complete noob here

    So I have worked with Arm 32 bit and was able to generate the log file which contains all the instructions and addresses and all... Now i want to do the same for 64 bit. But it seems we need another compiler to do the same. If possible, can you guys give…

  • Can't find the compiler: arc-elf32-cpp

    Hello,

    thank you really much for this forum/community! I'm trying to compile the following source code: https://github.com/j1nx/Amlogic-reff16-uboot

    The reason why I'm compiling this sources are that I'm getting started with ARM devices. Especially…

  • Is the ARM 5.05 v2 build 169 compiler compatible with Ubuntu 18.04?

    Making a change to an old product - Code was last updated using compiler level 5.05v2 build 169 - so installed (unpacked the tar file and ran setup.sh)

    Now I get the following symptom - none of the executables function on this machine - but they work…

  • How to change Elf Header's e_version field on compile time?

    Hi experts.

    For managing binary file's version information.. I just want to Elf Header's e_version field...

    But I don't know how to change that information on compile time...

    Could  I use that field as i want to?

    Cuz the some application…

  • no FPU in memset

    How can I tell the linker/compiler not to use memset/memcpy function which use FPU registers?

    For example: SCIOPTA allows to limit the use of the FPU for certain tasks (to improve task-switching). Tasks without FPU may not use FPU registers. But the compiler…

  • Key difference between GCC arm-none-eabi and arm-eabi

    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

  • can't figure out how to compile, link my program for my lpc1768 board

    I'm reading OReilly embedded programming book. After reaching 2.7. Initialize the Hardware i have problem understanding things. i didn't understand some part about 2.7. and locating and linking. i was thinking maybe if i do it myself on my lpc1768…

  • Beginner with uVision compiler error

    compiling this first try with uVision:

       AREA x,CODE,Readonly

       ENTRY

      

       mov r0,#1

      

       END

    results in:

    *** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'…

  • Does anyone have any advice for learning how to program Cortex-M processors without an IDE?

    I'm interested in learning about what's under the hood, or what's hidden from you by an IDE, by which I mean, compiler, linker, makefiles - that type of thing. I have a few specific, if potentially misguided questions about what I think I should be doing…

  • armv8 bootrom

    Hi ARM experts,

       

    I'm new to develop boorom with armv8 CPU. 

    I have seen the example in ARM DS-5 .(startup_v8_ARMCompiler6)

    But I have no idea which step is  essential .

    Could you show me or tell me where I can find the related…

  • Inline function attribute causes undefined symbol linking error

    Hello ARM Community,

    I am using DS-5 5.18.1. I have a C function which must be compiled inline to decrease latency of an FIQ handler. I referenced following document for syntax:

    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472k/chr1359124973480…

  • ARM Compiler 6: Armclang

    1. ARM Compiler 6 uses armclang, but armclang can't use the intrinsic functions(like __qadd) that has used in the previous compiler.How can I get the optimization code? (Does the intrinsic functions are better than the our codes,what are the codes in the…
  • arm-elf-gcc compiling for cortex-M4

    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'.

  • Do Aarch64 char parameters and returns have the top undefined?

    If a char parameter is passed to a routine in Aarch64 is the top of the word undefined? and is the same true for if a char value is returned? I think the answer is yes but it would be good to be certain. This means if the char is used in some arithmetic…

  • ARM compiler 6 problem with 32-bit machines. It only works for 64-bit machines. Please let me know how to overcome this problem in DS-5

    ARM compiler 6 is not compatible with 32- bit machines. How do i overcome this problem.

  • arm r5 compiler config

    Hi All,

    Can we configure r5 compiler to turn of using LDM instructions. I just want to use multiple LD instructions instead of one LDM.

    Thanks in advance.

    Best,

    Patrick

  • How to cross compile LLVM targeting arm on a laptop machine

    Hi,

    I would like to crete assembly and binaries from c code, targeting arm v7 architecture.

    I would like to use LLVM to do that. Is there any specific manual/documentation/website?

    Thank you

  • Is it possible to compile the example of TrustZone for Cortex-A9 with a GNU compiler or the ARM is the only one usable?

    I'm trying to compile the VersatileExpress_TrustZone_Example with a GNU compiler and it's full of errors.

    I compiled the example with the ARM one ansd it worked perfectly but i only have a evaluation license to use it.

    So I would like to know if…

  • armcc compile c   error  under DS-5 tool

    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…

  • GCC for ARMv7-A - Where can I get the latest version?

    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

  • Error: C9932E: Cannot obtain license for Compiler (feature compiler5) with license version >= 5.0201311

    Hello There,

    Recently I have bought Altera Cyclone V SoC 5CSXFC6D6F31C6 Development board and generate the license online.

    license shows in Help-->License Manager  with Green Check Mark , it seems that every thing is fine for further software development…