Compiling using arm-none-eabi-gcc and linking library liba.a error

后端 未结 2 1358
[愿得一人]
[愿得一人] 2021-01-02 08:59

I am compiling a hello world program in C on a 64-bit Linux machine. I am using a GCC ARM embedded toolchain to cross compile my program on a FOX G20 V board with an ATMEL A

2条回答
  •  太阳男子
    2021-01-02 09:54

    I got this error because my binary cannot fit the ROM.

    My first error was:

    address 0x34000 of arm_flash.elf section `.mmu_tbl' is not within region `ps7_ram_0`
    

    Then I've got the same list of undefined reference errors.

    I need to reduce the binary size, by removing new keywords, and all dynamic memory allocation from my C++ code.

提交回复
热议问题