semaphore functions in the wrong place during cross-build

Don Stewart dons at galois.com
Fri Mar 4 19:49:24 CET 2011


hsunix? What version of GHC are you building?

teeler:
> Hi,
> 
> I'm not sure where the right place is to configure this. While linking
> hsunix + some others, the
> compiler assumes that -lrt is the appropriate library to find
> semaphore-related functions,
> but for the particular toolchain i'm building against, those functions
> are actually in -lpthread.
> 
> Is there an easy way i can configure this?
> 
> 
> Thanks.
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list