This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: Soft links givin' me as hard time !!!



On Wed, Feb 03, 1999 at 09:36:53AM -0800, Steve Biskis wrote:
>Hi all,
>
>Trying to build the 20.1 development sources and keep
>hitting a snag.  Seems to involve soft links.  I didn't
>realize the CygWin stuff supported them - cool, EXCEPT.
>
>After configuring make will choke on any of the little 
>"!<symlink> ..." magic files it comes accross.
>
>For instance, during a make, the egcs distribution sets up 
>an "ln -s" of ./gcc.c to ./g++.c .  This causes the file: g++.c
>with the following contents: !<symlink>./gcc.c .
>
>Now, when make come accross this file, I get:
>
>g++.c:1 parse error before '!'
>
>Now, if I edit the makefile, stopping it from deleting & then
>recreating this "link" and either copy gcc.c to g++.c or do
>an actual UNIX ln -s on the fileserver, I'm OK.
>
>I should mention that all the target files are actually on a
>FreeBSD file system shared with Samba.  All the binary
>tools and headers are on the win32 compile host.

Symbolic links need to have the "S"ystem bit set.  That probably
is not happening on a Samba drive.
--
cgf@cygnus.com
http://www.cygnus.com/