Date: Thu, 25 Jan 2001 10:57:13 -0800 (PST) From: John Polstra <jdp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/gcc.295/config freebsd.h Message-ID: <200101251857.f0PIvDJ60953@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101251857.f0PIvDJ60953>