GCC 4.3.2 OpenMP Support in Cygwin
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Wed Feb 11 03:21:00 GMT 2009
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/
More information about the Cygwin
mailing list