linking arm libc instead of thumb for Cortex-M3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-arm-none-eabi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am using Ubuntu 18.04 arm-none-eabi-gcc (15:6.3.
> arm-none-eabi-gcc -mthumb -mcpu=cortex-m3 --print-
/usr/lib/
^^^ I have seen in another post that when some guy types the same command line (although for a Cortex-M4), he gets 'thumb' somewhere in the returned path.
> arm-none-eabi-gcc -mthumb -mcpu=cortex-m3 --print-
thumb/v7-m
Other libs (for example function __eabi__uidiv) look like thumb code.
I have used
> sudo apt install gcc-arm-none-eabi
More information:
> sudo dpkg -l | grep gcc-arm-none-eabi
ii gcc-arm-none-eabi 15:6.3.
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
Thank you for your time,
Best regards,
Jérôme.