Support Board
Date/Time: Fri, 10 Jan 2025 23:10:43 +0000
Post From: cannot find -lpthread collect2.exe: error: ld returned 1 exit status
[2016-08-31 23:16:15] |
i960 - Posts: 360 |
Wait, before just switching compilers entirely (which might be harder than you think for some people), why not figure out why ld cannot simply find libpthread? This isn't hard to debug. Use ld with --verbose for starters so one can see what it's using for it's library path - because either the libpath is wrong or libpthread isn't correctly installed. |