Menu

#15 Latest MinGW-W64 binary doesn't work through symbolic links

New
nobody
None
Medium
Defect
2012-02-09
2012-02-09
Anonymous
No

Originally created by: joshuada...@gmail.com

What steps will reproduce the problem?
1. Install mingw-w64-bin-x86_64-20120127.7z to C:\MinGW
2. Create a link in Windows 7 x64 using mklink: mklink c:\zomg c:\MinGW
3. Compile and link a program using c:\zomg\bin\g++

What is the expected output? What do you see instead?
Should build, but instead I get:
c:/zomg/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lstdc++
c:/zomg/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_s
c:/zomg/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgcc_s
collect2: ld returned 1 exit status

What version of the product are you using? On what operating system?
mingw-w64-bin-x86_64-20120127
Windows 7 x64

Please provide any additional information below.

After confirming the failure, build again with c:\mingw\bin\g++ and it will work fine.  I'd never had a problem symlinking to MinGW builds.

Discussion


Log in to post a comment.