delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/29/23:14:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; q=dns; s=default; b=SEW
9RbXOF82BhoeudhRFb/SwR6ZEIq6MNCEFH54pWz7UamjEAf/xh/3b2HVx3AQFdBO
oMEWlzzEtX29NW3p8AU7lm/SKUVaEKjP7zk24jBw+xi2KtmD9TOtt92WIRGO1G23
9z94dp0ZCQSChOGHB97vgpfdojHOw6gtj6yDSiGs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type:content-transfer-encoding; s=default; bh=1wZSXndsI
PsUVtO+ni/1TN8dQag=; b=ixIy89+aAX1xrhLGzyyNBxOej6LQObEHwUdOWchz4
OooLGHGMtQa9n51U6OZGDIlSWQ8DkRajeZtHC0mvmcd6YFPdPhe/AhFKpwxk76dL
StEfvsxTUddyzoBZygqb9FdtuwATV6SkAakUSYEZ/qiF9tN6dvckaOKRTmIcCBbX
1U=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_40,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-ob0-f182.google.com
MIME-Version: 1.0
X-Received: by 10.60.74.37 with SMTP id q5mr3664917oev.3.1385784806364; Fri, 29 Nov 2013 20:13:26 -0800 (PST)
Date: Fri, 29 Nov 2013 23:13:26 -0500
Message-ID: <CAL1_K8AnO2ze8j7ePxwg2=tamupnvcadhW-3eOsi-jQLW2AemA@mail.gmail.com>
Subject: cpp gives various results depending on the path used
From: Patrick Rouleau <prouleau72 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id rAU4E26F016633

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019