Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 57602 invoked from network); 5 Nov 2007 16:55:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 16:55:04 -0000 Received: (qmail 18563 invoked by uid 500); 5 Nov 2007 16:54:52 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 18498 invoked by uid 500); 5 Nov 2007 16:54:52 -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 18487 invoked by uid 99); 5 Nov 2007 16:54:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 08:54:52 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 16:54:53 +0000 Received: from [10.70.3.143] ([10.70.3.143]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id lA5GrY3d000313 for ; Mon, 5 Nov 2007 16:53:35 GMT Message-ID: <472F4AC8.3060103@roguewave.com> Date: Mon, 05 Nov 2007 09:54:32 -0700 From: Martin Sebor User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071009 SeaMonkey/1.1.5 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: [PING] Re: svn commit: r588290 - /incubator/stdcxx/branches/4.2.x/etc/config/windows/projectdef.js References: <20071025174022.141271A9832@eris.apache.org> <4726486A.2020109@roguewave.com> In-Reply-To: <4726486A.2020109@roguewave.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Martin Sebor wrote: > If this fixes the .pdb issue that Liviu wrote about last week it > would be good to have a record of the problems our users can expect > to run into as a result (assuming the problem is real). Farid, is this something we should document (in the form of an issue)? Martin > > Martin > > faridz@apache.org wrote: >> Author: faridz >> Date: Thu Oct 25 10:40:21 2007 >> New Revision: 588290 >> >> URL: http://svn.apache.org/viewvc?rev=588290&view=rev >> Log: >> 2007-10-25 Farid Zaripov >> >> * projectdef.js (projectCreateVCProject): Generate .pdb file >> in $(OutDir) instead of $(IntDir). Use common .pdb file >> instead of two (compiler's and linker's). >> >> Modified: >> incubator/stdcxx/branches/4.2.x/etc/config/windows/projectdef.js >> >> Modified: >> incubator/stdcxx/branches/4.2.x/etc/config/windows/projectdef.js >> URL: >> http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/etc/config/windows/projectdef.js?rev=588290&r1=588289&r2=588290&view=diff >> >> ============================================================================== >> >> --- incubator/stdcxx/branches/4.2.x/etc/config/windows/projectdef.js >> (original) >> +++ incubator/stdcxx/branches/4.2.x/etc/config/windows/projectdef.js >> Thu Oct 25 10:40:21 2007 >> @@ -411,6 +411,23 @@ >> >> var allMacros = prjMacros.concat(cfgMacros); >> >> + var OutFile = this.OutFile != null ? >> + ReplaceMacros(this.OutFile, allMacros) : >> + "$(OutDir)\\" + PrjName + ext; >> + >> + var IngoreLibs = ""; >> + if (confInfo.dll) >> + { >> + IngoreLibs = confInfo.debug ? "msvcprtd.lib" : >> "msvcprt.lib"; >> + } >> + else >> + { >> + if (confInfo.mt || NOSTCRT) >> + IngoreLibs = confInfo.debug ? "libcpmtd.lib" : >> "libcpmt.lib"; >> + else >> + IngoreLibs = confInfo.debug ? "libcpd.lib" : >> "libcp.lib"; >> + } >> + >> var compiler = conf.Tools.Item("VCCLCompilerTool"); >> if (null != compiler) >> { >> @@ -423,6 +440,7 @@ >> if (null != this.PrepOpts) >> compiler.GeneratePreprocessedFile = this.PrepOpts; >> compiler.DebugInformationFormat = debugEnabled; >> + compiler.ProgramDataBaseFileName = changeFileExt(OutFile, >> "pdb"); >> compiler.SuppressStartupBanner = true; >> compiler.WarningLevel = warningLevel_3; >> setProperty(compiler.Detect64BitPortabilityProblems, false); >> @@ -486,28 +504,17 @@ >> linker.AdditionalOptions = LDFLAGS + " " + >> (null != this.LnkOpts ? this.LnkOpts : ""); >> >> - linker.LinkIncremental = linkIncrementalNo; >> - linker.SuppressStartupBanner = true; >> - linker.GenerateDebugInformation = true; >> if (null != this.Libs) >> linker.AdditionalDependencies = this.Libs; >> >> - if (confInfo.dll) >> - { >> - linker.IgnoreDefaultLibraryNames = >> - confInfo.debug ? "msvcprtd.lib" : "msvcprt.lib"; >> - } >> - else >> - { >> - if (confInfo.mt || NOSTCRT) >> - linker.IgnoreDefaultLibraryNames = >> - confInfo.debug ? "libcpmtd.lib" : "libcpmt.lib"; >> - else >> - linker.IgnoreDefaultLibraryNames = >> - confInfo.debug ? "libcpd.lib" : "libcp.lib"; >> - } >> - >> + linker.LinkIncremental = linkIncrementalNo; >> + linker.SuppressStartupBanner = true; >> + linker.GenerateDebugInformation = true; >> + // use the compiler's .pdb >> + linker.ProgramDatabaseFile = ""; >> + linker.IgnoreDefaultLibraryNames = IngoreLibs; >> linker.SubSystem = this.SubSystem; >> + >> if (confInfo.debug) >> { >> linker.OptimizeReferences = optReferencesDefault; >> @@ -519,12 +526,7 @@ >> linker.EnableCOMDATFolding = optFolding; >> } >> >> - if (this.OutFile != null) >> - linker.OutputFile = ReplaceMacros(this.OutFile, >> allMacros); >> - else >> - linker.OutputFile = "$(OutDir)\\" + PrjName + ext; >> - >> - linker.ProgramDatabaseFile = >> changeFileExt(linker.OutputFile, "pdb"); >> + linker.OutputFile = OutFile; >> >> if (this.Type != typeApplication) >> linker.ImportLibrary = >> changeFileExt(linker.OutputFile, "lib"); >> @@ -537,10 +539,8 @@ >> linker.AdditionalOptions = this.LibOpts; >> librarian.SuppressStartupBanner = true; >> - if (this.OutFile != null) >> - librarian.OutputFile = ReplaceMacros(this.OutFile, >> allMacros); >> - else >> - librarian.OutputFile = "$(OutDir)\\" + PrjName + ".lib"; >> + librarian.IgnoreDefaultLibraryNames = IngoreLibs; >> + librarian.OutputFile = OutFile; >> } >> >> if (null != this.PreLinkCmd) >> >> > >