[Bug other/24845] [gomp] make "-fopenmp" imply "-lgomp" when linking
rth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Nov 18 05:39:00 GMT 2005
------- Comment #2 from rth at gcc dot gnu dot org 2005-11-18 05:39 -------
Subject: Bug 24845
Author: rth
Date: Fri Nov 18 05:39:12 2005
New Revision: 107159
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107159
Log:
PR 24845
gcc/
* gcc.c (link_gomp_spec): New.
(static_specs): Include it.
(LINK_COMMAND_SPEC): Add link_gomp.
(GOMP_SELF_SPECS): New.
(driver_self_specs): Include it.
(switch_matches): Don't mark inline.
(main): Load libgomp.spec.
libgomp/
* Makefile.am (nodist_toolexeclib_HEADERS): New.
* configure.ac (link_gomp): New. Substitute it.
(AC_CONFIG_FILES): Add libgomp.spec.
* libgomp.spec.in: New file.
* Makefile.in, testsuite/Makefile.in, configure: Rebuild.
* testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags.
Added:
branches/gomp-20050608-branch/libgomp/libgomp.spec.in
Modified:
branches/gomp-20050608-branch/gcc/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/gcc.c
branches/gomp-20050608-branch/libgomp/ChangeLog
branches/gomp-20050608-branch/libgomp/Makefile.am
branches/gomp-20050608-branch/libgomp/Makefile.in
branches/gomp-20050608-branch/libgomp/configure
branches/gomp-20050608-branch/libgomp/configure.ac
branches/gomp-20050608-branch/libgomp/testsuite/Makefile.in
branches/gomp-20050608-branch/libgomp/testsuite/lib/libgomp-dg.exp
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24845
More information about the Gcc-bugs
mailing list