Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 81370 invoked from network); 25 Oct 2007 18:49:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2007 18:49:28 -0000 Received: (qmail 1989 invoked by uid 500); 25 Oct 2007 18:49:16 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 1926 invoked by uid 500); 25 Oct 2007 18:49:16 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 1914 invoked by uid 99); 25 Oct 2007 18:49:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 11:49:16 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.64.170.164] (HELO relay.wanderingwifi.com) (69.64.170.164) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 18:49:19 +0000 Received: from s170.rcs (unknown [216.132.222.29]) by relay.wanderingwifi.com (Spam Firewall) with ESMTP id 10CAE1A9502 for ; Thu, 25 Oct 2007 14:48:58 -0400 (EDT) Message-ID: <4720E51A.3090401@rowe-clan.net> Date: Thu, 25 Oct 2007 13:48:58 -0500 From: "William A. Rowe, Jr." User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: Use of /Fd option on Windows References: <4720B29B.8060800@roguewave.com> <7BDB2168BEAEF14C98F1901FD2DE64380121F821@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE64380121F821@epmsa009.minsk.epam.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Barracuda Spam Firewall at wanderingwifi.com X-Virus-Checked: Checked by ClamAV on apache.org For dynamic libs, use /Fd to point to a DIFFERENT file name, because that source-code .pdb is unrelated to the resulting binary .pdb that results from link /debug /opt:ref (otherwise indistinguishable from link /release but for massively useful information :-) I've taken to calling these /Fd"Release\libapr_src" where _src is a different collection of pdb info from the libapr-1.pdb that corresponds to a dll. For static libs, I've taken to compiling all the lib's sources into a /Fd pdb named for the static lib, so that they move nicely together. E.g for apr-1.lib static library, /Fd"Release\apr-1" gives us a nice source-code pdb. Once apr-1.lib+apr-1.pdb have been link /debug 'ed into a resulting binary, neither is interesting anymore, so these are very much for the library consumer. Bill