X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <499276E2.1000700@gmail.com>
References: <453a08ae0902101843w274863f7qe661961664506907@mail.gmail.com> 	 <499243A3.10208@cygwin.com> <499276E2.1000700@gmail.com>
Date: Thu, 12 Feb 2009 15:52:27 -0500
Message-ID: <453a08ae0902121252m3d482791k566ebe9ebf94bc4c@mail.gmail.com>
Subject: Re: GCC 4.3.2 OpenMP Support in Cygwin
From: Michael Craft <mcraft@peak15.org>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I compiled it myself using the "--enable-libgomp" flag on the configure script.

On Wed, Feb 11, 2009 at 1:57 AM, Dave Korn
<dave.korn.cygwin@googlemail.com> wrote:
> Larry Hall (Cygwin) wrote:
>> Michael Craft wrote:
>>> I am trying to compile an OpenMP program in Cygwin using GCC 4.3.2
>>> installed from the repositories. This program compiles in linux with
>>> the exact same compiler fine.
>>>
>>> $ gcc-4 -std=gnu99 -fopenmp -o mvp-cygwin matrix-vector-bench.c
>>> matrix-vector-bench.c:11:18: error: omp.h: No such file or directory
>>>
>>> Can anyone help?
>>
>> Sorry, I know nothing about OpenMP but the above suggests to me that
>> the compiler can't find "omp.h".  Does it exist?
>
>  GOMP, the GNU OpenMP library implementation, is shipped with GCC series 4,
> but was not enabled in earlier builds of the Cygwin distro compiler.  It will
> be included in the upcoming gcc4-4.3.2-2 release, ETA within the next seven
> days.  There's a home page at:
>
> http://gcc.gnu.org/projects/gomp/
>
>    cheers,
>      DaveK
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

