[Bug 17046] GCC/cygwin can't compile executables

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 19 05:19:16 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=17046


Peter Ross <pross at xvid.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pross at xvid.org




--- Comment #1 from Peter Ross <pross at xvid.org>  2009-03-19 05:19:16 ---
This is caused by a missing feature or bug in wine that breaks cygwin's symlink
implementation. A cygwin symlink (sometimes called a fake symlink or simulated
symlink) is a file containing the text '!<symlink>path/to/target\0'.

All the files in /usr/i686-pc-cygwin/bin are cygwin symlink's to the actual
binary files in /usr/bin. Wine refuses to execute the symlink files, and
therefore gcc fails.

Until this bug is resolved, the following script can used to get cygwin gcc
working:

 for x in ar.exe as.exe ld.exe nm.exe ranlib.exe strip.exe ; do
     rm /usr/i686-pc-cygwin/bin/$x
     ln -s /usr/bin/$x /usr/i686-pc-cygwin/$x
 done


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list