Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build is failing due to missing libpthread #11105

Closed
ameyp opened this issue Dec 21, 2013 · 2 comments
Closed

Windows build is failing due to missing libpthread #11105

ameyp opened this issue Dec 21, 2013 · 2 comments

Comments

@ameyp
Copy link

ameyp commented Dec 21, 2013

Since the older version of gcc is no longer being used, I believe that the mingw32-libpthread-old package recommended in https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust is no longer valid. With the latest gcc and that package, even a simple C program compilation and linking as gcc test.c -lpthread fails with ld.exe: cannot find -lpthread. The problem no longer occurs if the mingw32-pthreads-w32 package is installed instead.

I believe the wiki page needs to be updated to ask the user to install the mingw32-pthreads-w32 package instead.

@ameyp
Copy link
Author

ameyp commented Dec 21, 2013

I believe this should no longer be an issue thanks to #11100 and #11013, but the documentation should probably still be updated.

@alexcrichton
Copy link
Member

Closing, windows no longer depends on libpthread (large changes with the move to mingw-w64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants