Skip to content

Instantly share code, notes, and snippets.

@begriffs
Last active January 3, 2023 21:05
Show Gist options
  • Save begriffs/e04395fea452e11bbbec875b0d4d6269 to your computer and use it in GitHub Desktop.
Save begriffs/e04395fea452e11bbbec875b0d4d6269 to your computer and use it in GitHub Desktop.
arm-none-eabi-gcc multilib on openbsd 7.2

Using package arm-none-eabi-gcc-linaro-7.4.2019.02p0 and arm-none-eabi-newlib-2.2.0.1p1, the compiler can't find a multilib match for this combination of CFLAGS:

  • -mcpu=cortex-m4
  • -mthumb
  • -mfloat-abi=hard
  • -mfpu=fpv4-sp-d16

This is all it provides:

$ arm-none-eabi-gcc --print-multi-lib
.;
thumb;@mthumb
fpu;@mfloat-abi=hard
interwork;@mthumb-interwork
fpu/interwork;@mfloat-abi=hard@mthumb-interwork
thumb/interwork;@mthumb@mthumb-interwork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment