From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17691 invoked by alias); 6 Sep 2003 23:39:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17674 invoked from network); 6 Sep 2003 23:39:22 -0000 Received: from unknown (HELO ns2.prospeed.net) (12.46.111.140) by sources.redhat.com with SMTP; 6 Sep 2003 23:39:22 -0000 Received: from enterprise-e.cygwin.com ([12.46.110.44]) by ns2.prospeed.net (8.12.8/8.12.8) with ESMTP id h86Niv1i031356; Sat, 6 Sep 2003 19:44:58 -0400 Reply-To: Cygwin List Message-Id: <5.1.0.14.0.20030906193215.0468ad18@127.0.0.1> X-Sender: (Unverified) Date: Sat, 06 Sep 2003 23:39:00 -0000 To: Gerry Reno , cygwin@cygwin.com From: Larry Hall Subject: Re: gcc 3.2 and symbolic links problem In-Reply-To: <20030906231823.93319.qmail@web14407.mail.yahoo.com> References: <20030906230410.91371.qmail@web14407.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2003-09/txt/msg00448.txt.bz2 This is Mingw's gcc. You need to make sure you invoke Cygwin's gcc. It will understand the symlink. Larry At 07:18 PM 9/6/2003, Gerry Reno you 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) > >--- Gerry Reno 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? >> >> thx, >> Gerry Reno -- 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/