From owner-cvs-all Thu Jan 25 10:57:39 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F250D37B6AF; Thu, 25 Jan 2001 10:57:13 -0800 (PST) Received: (from jdp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0PIvDJ60953; Thu, 25 Jan 2001 10:57:13 -0800 (PST) (envelope-from jdp) Message-Id: <200101251857.f0PIvDJ60953@freefall.freebsd.org> From: John Polstra Date: Thu, 25 Jan 2001 10:57:13 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/gcc.295/config freebsd.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jdp 2001/01/25 10:57:13 PST Modified files: contrib/gcc.295/config freebsd.h Log: Make the "-pthread" option work again, now that libc_r has to be linked in addition to libc rather than instead of libc. Ideally, "-pthread" would now be equivalent to adding "-lc_r" to the end of the link command. But it is slightly different in this implementation. Adding "-lc_r" to the link command would produce a "ld" command line containing this: ... -lc_r /usr/lib/libgcc.a -lc /usr/lib/libgcc.a ... but this implementation of the "-pthread" option produces this: ... /usr/lib/libgcc.a -lc_r -lc /usr/lib/libgcc.a ... It would be possible to make them identical, but that doesn't fit as nicely into GCC's way of doing things. I don't think the ordering change will make any difference in practice. Revision Changes Path 1.31 +5 -8 src/contrib/gcc.295/config/freebsd.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message