[Bug preprocessor/56306] New: -m32 does not support all includes

uwe.seidler@siemens-enterprise.com gcc-bugzilla@gcc.gnu.org
Wed Feb 13 11:46:00 GMT 2013


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: unassigned@gcc.gnu.org
        ReportedBy: uwe.seidler@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.



More information about the Gcc-bugs mailing list