X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <499243A3.10208@cygwin.com>
Date: Tue, 10 Feb 2009 22:18:59 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
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
List-Id: <cygwin.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

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 <path>' where <path> 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/

