User Tools

Site Tools


arm:toolchain

This is an old revision of the document!


General

GCC

Online documentation

Good options Arm options

  • -march=armv6-m
  • -mtune=cortex-m0plus
  • -mcpu=cortex-m0plus
  • -mlong-calls
  • -mthumb
  • -mno-unaligned-access

Passing linker options through gcc with -Wl,
gcc -Wl,-Tlinkerscript.ld

Passing assembler options through gcc with -Wa,
gcc -Wa,-ag

Binutils

ld -- Linker

as -- Assembler

Online documentation

Good options Arm-options

  • -mcpu=cortex-m0plus
  • -march=armv6-m
  • -mthumb

nm -- List symbols

objcopy -- Copy and/or transform object files

objdump -- Investigate object files

arm/toolchain.1609064777.txt.gz · Last modified: 2022/09/12 00:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki