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 で Introduction to Installation and Licensing についてさらに検索

質問済み:

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