This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cpp gives various results depending on the path used
- From: Patrick Rouleau <prouleau72 at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 29 Nov 2013 23:13:26 -0500
- Subject: cpp gives various results depending on the path used
- Authentication-results: sourceware.org; auth=none
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