http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56306
Bug #: 56306 Summary: -m32 does not support all includes Classification: Unclassified Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: minor Priority: P3 Component: preprocessor AssignedTo: unassig...@gcc.gnu.org ReportedBy: uwe.seid...@siemens-enterprise.com Created attachment 29437 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29437 simple test program Scenario: Compilation of a 32bit application on a 64bit host. For "compiler internal" header files the preprocessor accesses the corret header files, e.g. #include <bits/stdc++.h> includes 32/bits/stdc++.h. For includes located somewher in the sysroot folders this usefull mechanism does not work. gcc-4.3 -m32 curlbr.c does not work if 32bit variant of curlbuild.h is provided in a 32/curl folder.