mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Solving the Pthreads issue


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Solving the Pthreads issue
Date: Sat, 8 May 2010 16:34:40 +1000

On 7 May 2010 22:15, Volker Grabsch <address@hidden> wrote:
> Tony Theodore <address@hidden> schrieb:
>> On 7 May 2010 08:06, Volker Grabsch <address@hidden> wrote:
>> >    A)  Keep packages "gcc" and "pthreads" separate as they are.
>> >
>> >    B)  Entangle "gcc" and "pthreads" in order to try to get
>> >        OpenMP support.
>> >
>> > What do you think about that? I'd like to collect as many opinions
>> > as possible.
>>
>> AFAIK, libgomp is a runtime library and can be built entirely
>> separately from gcc - it doesn't need to be tangled in with it. I'd
>> rather see a libgomp.mk that uses the gcc tarball (possibly gcc-core
>> if untarring time is important) and depends on pthreads.
>
> That's a good point, and it's definitely worth a try!

Attached is what I had in mind. It's basically the previous libgomp
build steps with some unrecognised options removed. I notice that both
host and target are specified and the prefix is just usr. Should these
be:

        --host='$(TARGET)'
        --prefix='$(PREFIX)/$(TARGET)'

like other cross builds?

Tony

Attachment: libgomp.mk
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]