• -print-libgcc-file-name gives thumb while -marm is used

    Arjan
    Arjan

    Dear Forum,

    Using

    ~$ arm-none-eabi-gcc -v                                                                             
    Using built-in specs.
    COLLECT_GCC=arm-none-eabi-gcc
    COLLECT_LTO_WRAPPER=/opt/gcc-arm-none-eabi/bin/../libexec/gcc/arm-none-eabi/9…

    • 1 month ago
    • Processors
    • Cortex-A / A-Profile forum
  • gcc does not generate correct code while building PIC

    rgujju
    rgujju

    Hey guys,

    I have been exploring building PIC using the gcc toolchain and I think there is a bug.

    I first build a shared library using 

    arm-none-eabi-gcc -shared -mcpu=cortex-m4 -mthumb -Wall -g -fPIC -fmessage-length=0 --specs=nosys.specs mylib.c -o libmylib…

    • 3 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Shared libraries and PLT using GCC toolchain

    rgujju
    rgujju

    Hi all,

    I am trying to understand how shared libraries and PLT works. As per my current understanding linking a shared library should output code that calls a function (function from the shared library) by going through the PLT. And the function itself…

    • Answered
    • 3 months ago
    • Processors
    • Cortex-M / M-Profile forum
  • Linker in gnu arm toolchain says "group ended without start" thought there is no such option in my build

    ShyamThella
    ShyamThella

    shyam@shyam:~/projects/zynq/microzed/linux_source/Test_Chips$ make
    make -C  /home/shyam/projects/zynq/microzed/linux_source/Test_Chips/../dev_tools/build
    make[1]: Entering directory `/home/shyam/projects/zynq/microzed/linux_source/dev_tools/build'
    Making…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • How to convert a BIN into an ELF object image with armlink?

    chagas
    chagas

    I'm wondering how I could use 'armlink' to combine or merge a binary image into another image. With the ARM GNU tools, I can do the following:

    1) Perform a partial linking (switch '-r') of as input file in binary format (switch '-b binary…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Program ARM-device from Linux

    yahniukov
    yahniukov

    Hello everyone!

    I want to buy STM32F103C8T6 and my os is Ubuntu and I don't want to use IDEs. I already found the developer's tools - GNU Arm Embedded Toolchain, but have the question - there is a suitable linux software to program ARM devices…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Installing Arm GCC toolchain on ubuntu

    chumbichubago
    chumbichubago

    Hello,

    I am trying to learn with ARM, and I have downloaded the toolchain .tar and extracted it to my home directory on Ubuntu 16.04 64bit. As you know, GNU GCC is already on the system. I do not know what to do now, I see no step by step instructions…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Calling native methods, written in ARM Assembly, within an Android App using the JNI

    Myy
    Myy

    This document demonstrates how to generate a library containing an assembly procedure that will be called through the Java Native Interface, within an Android project written in Java as an example.

    The procedure will return a Java byte[] array object…

    • over 3 years ago
    • Processors
    • Processors blog
  • Calling Java methods through native ARM assembly code, with an Android app and the JNI

    Myy
    Myy

    This document demonstrates how to call the JNI, through a procedure :

    • written with the GNU ARM Assembly syntax,
    • assembled and stored in a ELF shared library,
    • executed by an Android system through an Android application Activity.

    The procedure will be…

    • over 3 years ago
    • Processors
    • Processors blog
  • View related content from anywhere
  • More
  • Cancel