public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc 3.2 and symbolic links problem
@ 2003-09-06 23:04 Gerry Reno
  2003-09-06 23:18 ` Gerry Reno
  0 siblings, 1 reply; 5+ messages in thread
From: Gerry Reno @ 2003-09-06 23:04 UTC (permalink / raw)
  To: cygwin

  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


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc 3.2 and symbolic links problem
  2003-09-06 23:04 gcc 3.2 and symbolic links problem Gerry Reno
@ 2003-09-06 23:18 ` Gerry Reno
  2003-09-06 23:34   ` Max Bowsher
  2003-09-06 23:39   ` Larry Hall
  0 siblings, 2 replies; 5+ messages in thread
From: Gerry Reno @ 2003-09-06 23:18 UTC (permalink / raw)
  To: cygwin

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 <grenoml@yahoo.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?
> 
> thx,
> Gerry Reno
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc 3.2 and symbolic links problem
  2003-09-06 23:18 ` Gerry Reno
@ 2003-09-06 23:34   ` Max Bowsher
  2003-09-06 23:43     ` Gerry Reno
  2003-09-06 23:39   ` Larry Hall
  1 sibling, 1 reply; 5+ messages in thread
From: Max Bowsher @ 2003-09-06 23:34 UTC (permalink / raw)
  To: Gerry Reno, cygwin

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@yahoo.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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc 3.2 and symbolic links problem
  2003-09-06 23:18 ` Gerry Reno
  2003-09-06 23:34   ` Max Bowsher
@ 2003-09-06 23:39   ` Larry Hall
  1 sibling, 0 replies; 5+ messages in thread
From: Larry Hall @ 2003-09-06 23:39 UTC (permalink / raw)
  To: Gerry Reno, cygwin

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 <grenoml@yahoo.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?
>> 
>> 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc 3.2 and symbolic links problem
  2003-09-06 23:34   ` Max Bowsher
@ 2003-09-06 23:43     ` Gerry Reno
  0 siblings, 0 replies; 5+ messages in thread
From: Gerry Reno @ 2003-09-06 23:43 UTC (permalink / raw)
  To: Max Bowsher, cygwin

I have compiled these programs before with the symlinks.  Yes it was
with cygwin and not mingw.  I just changed my PATH and its compiling.  

thx,
Gerry Reno

 
--- Max Bowsher <maxb@ukf.net> wrote:
> 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@yahoo.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.
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-09-06 23:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-06 23:04 gcc 3.2 and symbolic links problem Gerry Reno
2003-09-06 23:18 ` Gerry Reno
2003-09-06 23:34   ` Max Bowsher
2003-09-06 23:43     ` Gerry Reno
2003-09-06 23:39   ` Larry Hall

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