On Fri, Jan 06, 2023 at 01:48:14PM -0600, Joe Nelson wrote:
> Hi Dave and Tracey, seems like you have experience in this area. Can you give
> me any advice?
> 
> I'm cross-compiling for an ST Nucleo F411RE, which requires these CFLAGS:
> 
>         -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16
> 
> On my system, 'arm-none-eabi-gcc -print-multi-directory' can't find a match 
> for
> them. By comparison, on Debian, arm-none-eabi-gcc finds 'thumb/v7e-m+fp/hard'.
> 
> Is there a way to update the port on my system to include this multilib 
> flavor?
> Thanks for your help.
> 
> ---------------------------
> System/package information:
> 
> * OpenBSD 7.2
> * arm-none-eabi-gcc-linaro-7.4.2019.02p0
> * arm-none-eabi-newlib-2.2.0.1p1
> 
> $ 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

I'm guessing you'd use --with-multilib-list={whatever-secret-sauce} your
Nucleo needs. However, I don't know what your secret sauce is.

-- 

Tracey Emery

Reply via email to