delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/08/20/11:13:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CAB5V_nbRAFs-OhFLetF8+cCnQutV0+kyx_30c-ECr4cOXnR4Jg@mail.gmail.com>
References: <CAB5V_nbRAFs-OhFLetF8+cCnQutV0+kyx_30c-ECr4cOXnR4Jg AT mail DOT gmail DOT com>
Date: Sat, 20 Aug 2011 17:12:59 +0200
Message-ID: <CAB5V_nYFTrTx8bp9CftSkJW=mS9xv3NC3OgiS4n5-3jzn5y=Qw@mail.gmail.com>
Subject: problem with bash recognizing c-file with cygwin under eclipse
From: Bram Kouwenberg <kouwenberg DOT bram AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Hello,

I am using Cygwin under Eclipse C/C++. I am trying to compile/run a
simple c program with gcc, but the file is not found by the bash
shell. Neither gcc or ls -la can find the .c file but ls does show the
other contents of the project directory. I'm going crazy not being
able to find out why the file is not recognized. Its there in the
eclipse tree and in windows explorer..

heres the result of a irc chat on the #bash channel

appreciating any response on this..

B


<helpme> hi 2 all
<helpme> have problem with cygwin bash shell: ls -la does not recognize .c file
<helpme> but does list all other items in dir
<kon> not recognize?
<helpme> does not list test.c
<helpme> I use cygwin in eclipse c/c++ and test.c is a node in the
project tree - if this helps
<helpme> ls -la recognize all in project dir but test.c
<helpme> really weird
<kon> hmm indeed weird
<kon> i never used eclipse, does it maybe have some integrated filter?
<kon> this is not default bash behaviour
<helpme> integrated bash filter?
<helpme> doubt it
<helpme> maybe its a cygwin/c thing
<kon> yeah i thought maybe something like a set env var
<kon> could just be windows though yeah =)

--
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