Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 89759 invoked from network); 19 Sep 2006 09:08:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2006 09:08:17 -0000 Received: (qmail 30012 invoked by uid 500); 19 Sep 2006 09:08:17 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 29953 invoked by uid 500); 19 Sep 2006 09:08:17 -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 29942 invoked by uid 99); 19 Sep 2006 09:08:17 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2006 02:08:17 -0700 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=DNS_FROM_RFC_BOGUSMX,FORGED_RCVD_HELO,HTML_30_40,HTML_MESSAGE Received: from ([193.186.16.13:59363] helo=smtp.salomon.at) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id 38/6A-26148-AE2BF054 for ; Tue, 19 Sep 2006 02:05:48 -0700 Received: from servex01.wamas.com (servex01.salomon.at [172.28.2.2]) by smtp.salomon.at (8.12.10/8.12.10) with ESMTP id k8J95QNR007487; Tue, 19 Sep 2006 11:05:26 +0200 (METDST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6DBCA.BF1CFBF0" Subject: wgcc 2.0 RC1 released Date: Tue, 19 Sep 2006 11:05:25 +0200 Message-ID: <18597F2B47F1394A9B309945EC72411282DB97@servex01.wamas.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: wgcc 2.0 RC1 released Thread-Index: Acbbyr7QnURV5QqLT2eNY5WrAAVgWA== From: "Duft Markus" To: Cc: , , X-Spam-Info: -1.774 () ALL_TRUSTED,AWL,BAYES_50,DNS_FROM_RFC_BOGUSMX,HTML_30_40,HTML_MESSAGE X-Scanned-By: MIMEDefang 2.54 on 172.28.2.13 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6DBCA.BF1CFBF0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi again! =20 For all interested in native Windows binaries built with Autotools and mnay other interesting things: =20 wgcc is a cross-compiler tool primarily written for Microsoft's Interix. Its primary purpose is to produce native Windows binaries (internally using the Microsoft Tool chain), and to mimic the behaviour of the GNU compiler collection. This means that wgcc understands many of GCC's command line arguments, and in most cases delivers the same results as expected, sometimes manipulating the underlying tool's input and output. =20 Even though wgcc was written for Interix only, it can be used on native Windows (without Interix), and other Systems, like Cygwin. The only restriction is that on Platforms other than Interix, only Windows style paths are understood. This will change in the future for Cygwin, and/or others. On Interix wgcc automatically converts UNIX style paths to Windows style ones (i.e. /wgcc to C:\SFU\wgcc). =20 wgcc abstracts away lots of inconveniences that are introduced by building static libraries, shared libraries (DLL's) and executables with any possible combination of those three. When using wgcc both static and shared libraries behave exactly the same on Windows, and this makes tons of defines unnecessary. The only thing that still has to be done is to give all Data symbols (i.e. Variables) an import attribute (__declspec(dllimport)) when using them (i.e. in the library header files) in an executable. For a simple example take a look at the file tests/shared.test inside the wgcc distribution. =20 The Release Candidate 1 of wgcc has a completely rewritten Configuration File parser, which allows for faster and safer parsing; now adding the ability to include empty directives in configuration files. This could be something like "paths.c++ =3D" to unset all C++ search directories. =20 Also the ability to automatically generate export definitions and import trampolines for mixing static and shared libraries with executables has been reviewed and improved. This did not change the behaviour of wgcc regarding the 2.0-pre.x versions, but only speeded it up a little. =20 pxwc, the accompanying library for wgcc allows further abstraction for C code, allowing use of the ANSI function names (i.e. without the leading "_"). pxwc currently includes only a small set of functions, so your help is needed to find out which others to include. Just open a Feature Request at = http://sourceforge.net/tracker/?group_id=3D158081&atid=3D806407 and we will try to add functionality as soon as possible. =20 Using the patch provided for GNU Libtool, wgcc can be used with many Open Source packages. After patching and installing Libtool, simply bootstrap the package in question, configure (set CC, CXX and LD to "wgcc") and build. The configure Script should tell that the linker in use is the "Interix to Win32 cross linker (wgcc)". =20 Since the version jump to 2.x wgcc now resides in the Sourceforge Subversion Repository. The CVS Repository still continues to contain previous wgcc versions (0.x). =20 To continue improving wgcc and pxwc packages, we now need your help in testing them. Please download wgcc and try to compile you software using it. If something goes wrong please contact mduft or open an issue using the Sourceforge Tracker at http://sourceforge.net/tracker/?group_id=3D158081&atid=3D806404, or ask = your questions at the forums at http://sourceforge.net/forum/?group_id=3D158081. =20 You can browse the Subversion Repository here: http://svn.sourceforge.net/viewvc/interix-wgcc/trunks/ =20 Documentation can be found here: http://sourceforge.net/project/showfiles.php?group_id=3D158081&package_id= =3D 203917&release_id=3D446943 Source Packages can be found here: http://sourceforge.net/project/showfiles.php?group_id=3D158081&package_id= =3D 177049&release_id=3D445894 The Patch for Libtool can be found here: http://sourceforge.net/project/showfiles.php?group_id=3D158081&package_id= =3D 196163&release_id=3D446510 ------_=_NextPart_001_01C6DBCA.BF1CFBF0--