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

21 views (last 30 days)
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.

Answers (1)

Muskan
Muskan on 21 Apr 2023
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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!