Control: tags -1 + wontfix On 12/09/2014 03:03 PM, Vincent Lefevre wrote: > Package: cpp-4.9 > Version: 4.9.2-5 > Severity: wishlist > > cpp currently supports multiarch search paths for /usr/local and /usr, > but not for directories supplied via environment variables like $CPATH > and $C_INCLUDE_PATH. For instance, "cpp -v" gives: > > /usr/local/include/x86_64-linux-gnu > /usr/local/include > [...] > /usr/include/x86_64-linux-gnu > /usr/include > > and when adding the -m32 option: > > /usr/local/include/i386-linux-gnu > /usr/local/include > [...] > /usr/include/i386-linux-gnu > /usr/include > > But if I use CPATH=/home/vlefevre/include, I just get: > > /home/vlefevre/include > > Adding the other directory to $CPATH is not a good solution because > one doesn't always know the ABI (whether -m32 is present or not) in > advance, i.e. one doesn't know in advance which directory to add.
the preprocessor doesn't know anything about "/home/vlefevre/include". what should it append? the MULTILIBOSDIR_NAME, the MULTILIB_NAME, the MULTIARCH_NAME? There is nothing known about this, and if you use CPATH in your build environment, then you should handle these settings yourself. Matthias -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/55464dc8.5020...@debian.org