siliconsam / imp2022

IMP77 compiler for Linux
1 stars 0 forks source link

Missing bits header under WSL #3

Closed gtoal closed 1 year ago

gtoal commented 1 year ago

In file included from pass3coff.c:10: /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory 27 | #include <bits/libc-header-start.h> | ^~~~~~

siliconsam commented 1 year ago

The documentation describing the pre-requisites for the compiler environment indicates that the gcc-multilib is required for building 32-bit code in a 64-bit version of Linux. A quick Google search for the error generated, provides suggestions that the gcc-multilib package is missing when attempting to compile 32-bit code.