cpp gives various results depending on the path used

Patrick Rouleau prouleau72@gmail.com
Sat Nov 30 04:13:00 GMT 2013


Hi,

I looks like cpp gives various results depending on the path used.

$ cpp --version
cpp (GCC) 4.8.2

$ /lib/cpp dummy.c >q; echo $?
cpp: error: spawn: No such file or directory
1

$ /bin/cpp dummy.c >q; echo $?
cpp: error: spawn: No such file or directory
1

$ /usr/bin/cpp dummy.c >q; echo $?
0

I get these results with both versions (x32 & x64).

I have restored the previous version (4.7.3) and it works fine.
dummy.c only contains a #define.

I hit this problem while trying to recompile bup after I done a
CygWin's update. bup uses /lib/cpp.


Regards,
P.Rouleau


-- 
Bjarne Stroustrup: “C makes it easy to shoot yourself in the foot; C++
makes it harder, but when you do it blows your whole leg off.”

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list