[Top][All Lists]

[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: Mon, 10 May 2010 18:59:18 +1000

On 10 May 2010 03:06, Volker Grabsch <address@hidden> wrote:
[snip make variables explanation]

Thanks for the explanation!

>> 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?
> That's a good question. I simply took exactly the options that
> were passed by GCC's main configure/make. Those cause libgomp to
> be installed to:
>    usr/lib/gcc/i686-pc-mingw32/4.5.0/include/omp.h
>    usr/lib/gcc/i686-pc-mingw32/4.5.0/libgomp.a
>    usr/lib/gcc/i686-pc-mingw32/4.5.0/libgomp.la
> But your options are sensible, too, and would certainly work,
> too. These would install libgomp to a more usual location.
> However, since libgomp is a subpackage of GCC, I think we should
> install it to the place designated by GCC. That is, we should
> install it to the same position to which it would be installed
> if it had been built directly in the GCC build.

Good point, I just started with a clean build and gcc finds it
automatically when it's in usr/lib/gcc*.


reply via email to

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