X-Recipient: archive-cygwin AT delorie DOT 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 AT mail DOT gmail DOT com> <499243A3 DOT 10208 AT cygwin DOT com> <499276E2 DOT 1000700 AT gmail DOT 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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 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/