I am running Ubuntu 16.04 and I can successfully use the default 64-bit version of gcc to compile 64-bit code with the -m64 compiler switch. Yet when I try to use the same default 64-bit version of gcc to compile 32-bit code using the -m32 compiler switch I receive during the compilation the error:
/usr/include/c++/5/cstdio:41:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
I know I should be able to compile both 64-bit code and 32-bit code with the 64-bit gcc compiler, but it looks like I am missing some header file for 32-bit compilation. Does anyone know how I can determine which package I need to install which includes the 'bits/c++config.h' header file ?
Bookmarks