Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 93760 invoked from network); 20 Oct 2006 12:01:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 12:01:10 -0000 Received: (qmail 10154 invoked by uid 500); 20 Oct 2006 12:01:09 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 10133 invoked by uid 500); 20 Oct 2006 12:01:09 -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 10122 invoked by uid 99); 20 Oct 2006 12:01:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 05:01:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.82.213.172] (HELO exkiv.kyiv.vdiweb.com) (212.82.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 05:01:06 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH] Scripts, generating solution and projects for MSVC/ICC Date: Fri, 20 Oct 2006 15:01:16 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] Scripts, generating solution and projects for MSVC/ICC Thread-Index: Acbyzfja8IUXgL/ITbKNXAZ0pvz1ZQBZiqWQ From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Andrew Black [mailto:ablack@roguewave.com]=20 > Sent: Wednesday, October 18, 2006 6:56 PM > To: Farid Zaripov > Cc: Martin Sebor > Subject: Re: [PATCH] Scripts, generating solution and=20 > projects for MSVC/ICC >=20 [...] > Farid, the patch appears to be mostly correct, as the=20 > generated solution using the msvc-8.0-x64 configuration > produced an x64 DLL (when built as 15d). [...] > A question I have is a design question. Does=20 > it make more sense to have separate projects for > Win32 and x64 products, or should the msvc-8.0 solution=20 > include both platforms as possible targets? To my mind, the=20 > later makes more sense. To have supporting of the several platforms in one solution we should make a lot of changes to the build infrastructure: 1. Changes to the directory structure. It's maybe this: %BUILDDIR%/%PLATFORM%/%CONFIG%/whatever or %BUILDDIR%/%CONFIG%/whatever/%PLATFORM% 2. Changes to the script files (adding the parameter PLATFORM to get paths to the executable files for runall.wsf script; buildlog.htm files for makelog.wsf script 3. Add PLATFORM parameter to the build_xxx.bat to build library and tests for specified platform The mine MSVC 8.0 also supports the "Pocket PC 2003 (ARMV4)" and "Pocket PC 2003 (ARMV4)" platforms and I not sure that the list of supported platforms is will not be changed in future. The different platforms may require to specify the different compiler/linker options (CPPFLAGS, LDFLAGS) as well as the different names of the compiler/linker/librarian executable (CXX, LD, AR) and all of this should be handled within the single .config file.=20 So I prefer to have the different .config files for different platforms to avoid complication of the build infrastructure. Farid.