bits/libc-​header-sta​rt.h: No such file or directory

In Simulink, I created an S-Function Builder for the C code purposes. When I run the model, I had the problem
I already installed the 32-bit and 64-bit headers and libraries. The -m32 is telling gcc to compile for a 32-bit platform. On a 64-bit machine, gcc normally only comes with 64-bit libraries.

답변 (1개)

Muskan
Muskan 2023년 4월 21일

0 개 추천

Hi Ali,
As per my understanding of the question, you can install gcc-multilib package when using -m32 (needed for gcc or clang). For C++, g++-multilib is also required.
Thanks

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2023년 4월 3일

답변:

2023년 4월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by