How to use immintrin.h without malloc and stdlib gcc
Posted: Sat Feb 01, 2025 7:37 am
If I want to use immintrin.h in my hobby os, i get this error:
Is there a way to use simd headers without having to implement full stdlib to gcc liking?
Code: Select all
gcc/x86_64-elf/14.2.0/include/xmmintrin.h:34
gcc/x86_64-elf/14.2.0/include/immintrin.h:31
gcc/x86_64-elf/14.2.0/include/mm_malloc.h:27:10: fatal error: stdlib.h: No such file or directory
27 | #include <stdlib.h>
| ^~~~~~~~~~