This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.3.2 OpenMP Support in Cygwin

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                    
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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]