delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/06/19:34:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <002b01c374cf$6af8fa20$a9308751@starfruit>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Gerry Reno" <grenoml AT yahoo DOT com>, <cygwin AT cygwin DOT com>
References: <20030906231823 DOT 93319 DOT qmail AT web14407 DOT mail DOT yahoo DOT com>
Subject: Re: gcc 3.2 and symbolic links problem
Date: Sun, 7 Sep 2003 00:34:28 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Gerry Reno wrote:
> The error looks like:
>
> $ ls -l myfile.c
> lrwxrwxrwx    1 greno    None          110 Sep  6 19:06 myfile.c ->
> ../myfile.c
>
> gcc -c myfile.c -o myfile.o
> gcc.exe: myfile.c: No such file or directory
> gcc.exe: no input files
>
> $gcc --version
> gcc.exe (GCC) 3.2.3 (mingw special 20030504-1)

*MINGW*. It shouldn't surprise you that a native Windows program is unable
to understand Cygwin symlinks.

> --- Gerry Reno <grenoml AT yahoo DOT com> wrote:
>>   I recently upgraded to cygwin 1.5.3 and to Mingw 3.0.0 and I now
>> notice that gcc will fail when trying to compile files that are
>> symlinks.  I tried deleting and recreating the link - still fails.  I
>> can read all the files and use all other tools with these symlinks.
>> Has anyone else seen this problem with gcc 3.2?

No, because you are *not* using gcc 3.2.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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