This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cpp gives various results depending on the path used


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]