From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15118 invoked by alias); 11 Feb 2009 03:21:47 -0000 Received: (qmail 15109 invoked by uid 22791); 11 Feb 2009 03:21:47 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mail.prospeed.net (HELO mail.prospeed.net) (64.25.80.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Feb 2009 03:21:40 +0000 Received: from localhost.localdomain (lhall.prospeed.net [64.25.83.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.prospeed.net (Postfix) with ESMTP id B126228017301 for ; Tue, 10 Feb 2009 22:21:37 -0500 (EST) Message-ID: <499243A3.10208@cygwin.com> Date: Wed, 11 Feb 2009 03:21:00 -0000 From: "Larry Hall (Cygwin)" Reply-To: cygwin@cygwin.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: GCC 4.3.2 OpenMP Support in Cygwin References: <453a08ae0902101843w274863f7qe661961664506907@mail.gmail.com> In-Reply-To: <453a08ae0902101843w274863f7qe661961664506907@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-02/txt/msg00287.txt.bz2 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? Is it in the same directory as matrix-vector-bench.c? If not, does it work if you add '-I ' where is the path to the directory where "omp.h" lives? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/