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: Fri, 7 May 2010 16:20:50 +1000

On 7 May 2010 08:06, Volker Grabsch <address@hidden> wrote:
[snip pthreads...]
>
> Independently from that, there is the question on whether to
> provide Pthreads as core package, build directly within GCC in
> order to get OpenMP support, or wither we should keep it as a
> separate package:
>
>    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.

I haven't tested this exactly, but have built pthreads and libgomp
together in a separate makefile - that was mostly motivated by code
organisation and turnaround time in testing. I'm happy to do some
experimenting - is there a small test program to verify openmp support
is working?

Cheers,

Tony




reply via email to

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