This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

arm-none-eabi-ld for binary generation

Hi Experts,

I observed while using ARMCC compiler, the ld toolchain is used to finally link and generate executable.

But while using GCC (arm-none-eabi-) with ld toolchain not able to link and generate final executable, whereas gcc is used for compile and link to final executable. What is the difference and usage across GCC and ARMCC ?

Parents
  • GCC can call linker automatically without explicitly giving the linker command. So it is the same in both cases that linker will be invoked, but GCC just does it implicitly.

    If you give gcc an additional option "-v", it will print all commands it calls behind the scence.

Reply
  • GCC can call linker automatically without explicitly giving the linker command. So it is the same in both cases that linker will be invoked, but GCC just does it implicitly.

    If you give gcc an additional option "-v", it will print all commands it calls behind the scence.

Children
No data