When linking an OpenMP program it is necessary to explicitly supply
the flag "-lgomp" on the command line; using "-fopenmp" is not sufficient.

Would it be possible to make "-fopenmp" imply "-lgomp" when linking is
performed, as most other compilers do? Or does this lead to problems?


-- 
           Summary: [gomp] make "-fopenmp" imply "-lgomp" when linking
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de


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

Reply via email to