public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/35055]  New: missing path to finclude directory when compiling .F90 files
@ 2008-02-02 10:23 hailijuan at gmail dot com
  2008-04-05 23:51 ` [Bug preprocessor/35055] " dfranke at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hailijuan at gmail dot com @ 2008-02-02 10:23 UTC (permalink / raw)
  To: gcc-bugs

testcase: (a.F90)
#include "omp_lib.h"

call omp_set_dynamic (.false.)
call omp_set_num_threads(4)

!$omp parallel
 print *, "t#:", omp_get_thread_num()
!$omp end parallel
end

#gfortran a.F90 -fopenmp
a.F90:1: error: omp_lib.h: No such file or directory

the file omp_lib.h is found in
/import/dr3/s10/gcc-4.3/bin/../lib/gcc/sparc-sun-solaris2.10/4.3.0/finclude.

"cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN" is invoked to
preprocess a.F90. the array cpp_include_defaults defined in cppdefault.c has to
add in ***/finclude/ and its data structure has to be refined to mark the
include is for fortran.


-- 
           Summary: missing path to finclude directory when compiling .F90
                    files
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hailijuan at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35055


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-12 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-02 10:23 [Bug preprocessor/35055] New: missing path to finclude directory when compiling .F90 files hailijuan at gmail dot com
2008-04-05 23:51 ` [Bug preprocessor/35055] " dfranke at gcc dot gnu dot org
2008-05-26 21:28 ` burnus at gcc dot gnu dot org
2008-07-12 17:11 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).