[Scons-users] Problem with variant_dir on cygwin

Bogdan Tenea btenea at ixiacom.com
Tue Sep 24 04:58:30 EDT 2013


Some, some testing on Cygwin (with Cygwin python):

- without CPPPATH set it does not add an -I

- with CPPPATH and duplicate=0 it does -Isrc -Ibuild

- with CPPPATH and duplicate=1 it only adds -Ibuild

On Linux it generate exactly the same -I, except it really copies the hpp before compiling.
To my knowledge the default behavior of the preprocessor is to also look in the current directory.

btenea at btenealinux:~/perforce/btenealinux/test$ `g++ -print-prog-name=cc1plus` -v
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/4.7
/usr/include/x86_64-linux-gnu/c++/4.7
/usr/include/c++/4.7/backward
/usr/lib/gcc/x86_64-linux-gnu/4.7/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed
/usr/include
End of search list.

I also tried running with -taskmastertrace and on Cygwin there is no mention of the hpp file
I did a nasty and installed 2.2.0 (which I have and works on the Linux system) and it's the same problem.

Regards,

Bogdan Tenea
Senior Software Engineer II
Ixia RO Stack Manager Dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20130924/cdae0848/attachment.html


More information about the Scons-users mailing list