semaphore functions in the wrong place during cross-build

Tyler Pirtle teeler at gmail.com
Fri Mar 4 19:52:16 CET 2011


On Fri, Mar 4, 2011 at 10:49 AM, Don Stewart <dons at galois.com> wrote:
> hsunix? What version of GHC are you building?
>

7.0.1? ;)

I'm talking about one specific target:
./dist-install/build/HSunix-2.4.1.0.o
in libraries/unix.



> 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