|
From: | Peter O'Gorman |
Subject: | Re: [PATCH] OpenBSD -pthread fix |
Date: | Sun, 21 Sep 2003 23:41:37 +0900 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030916 Thunderbird/0.3a |
Bob Friesenhahn wrote:
If options like -pthread are not passed through then the link may fail or produce the wrong result since -pthread may secretly add libraries, or change the entire library selection logic. I have developed for an OS (LynxOS) which provided a completely different set of libraries if -pthread was specified.
So -pthread needs special treatment, fair enough. As far as I know (haven't checked) -pthread does not get put into dependency_libs by current cvs libtool, if it requires special treatment, it ought to be written there as well as read and passed through to the linker. Correct?
Peter
[Prev in Thread] | Current Thread | [Next in Thread] |