[gomp merge] Stage 2: OpenMP for the Fortran front end

Jakub Jelinek jakub@redhat.com
Wed Feb 8 19:07:00 GMT 2006


On Wed, Feb 08, 2006 at 06:49:24PM +0000, B.Lucini@swansea.ac.uk wrote:
> On Wed, 8 Feb 2006, Steve Kargl wrote:
> 
> > 
> > Without the -fopenmp option, gfortran should treat the lines with
> > OpenMP directives as comments and the remaining lines of code would
> > compile as a regular Fortran program.  Why would a stub library be
> > needed?
> > 
> 
> There are also calls to OpenMP library functions. This is where the stub 
> enters.

Sure, but why can't you simply link against -lgomp without -fopenmp in that
case?

	Jakub



More information about the Gcc-patches mailing list