public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cpp gives various results depending on the path used
@ 2013-11-30  4:13 Patrick Rouleau
  0 siblings, 0 replies; only message in thread
From: Patrick Rouleau @ 2013-11-30  4:13 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-30  4:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-30  4:13 cpp gives various results depending on the path used Patrick Rouleau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).