Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74091 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94347 invoked from network); 9 May 2014 11:46:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2014 11:46:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=oneil@saxonica.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=oneil@saxonica.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain saxonica.com from 217.69.40.69 cause and error) X-PHP-List-Original-Sender: oneil@saxonica.com X-Host-Fingerprint: 217.69.40.69 relay01.mail.uk1.eechost.net Linux 2.6 Received: from [217.69.40.69] ([217.69.40.69:54047] helo=uk1rly2283.eechost.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C9/31-15882-D00CC635 for ; Fri, 09 May 2014 07:46:22 -0400 Received: from [82.152.109.199] (helo=[192.168.0.112]) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1WijHl-0006jx-6T; Fri, 09 May 2014 12:48:17 +0100 Content-Type: multipart/alternative; boundary="Apple-Mail=_2787801E-F6C6-4ED0-8E6D-8ECC7959BD55" Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) In-Reply-To: Date: Fri, 9 May 2014 12:46:18 +0100 Cc: PHP internals Message-ID: References: <42E6A56D-0FF1-4408-BCF5-DFBCEDA735EB@saxonica.com> <1396445137.2982.291.camel@guybrush> <2EF10AD3-FC2C-4F34-9639-8BC798DB0917@saxonica.com> <1396449767.2982.294.camel@guybrush> <40B86AC1-3057-4016-95E2-EB8E754A70E1@saxonica.com> <57711604dc923c34412021350230d52e.squirrel@webmail.klapt.com> <964B0802-BCEF-4A11-8660-B2E9DA592B9C@saxonica.com> To: Pierre Joye X-Mailer: Apple Mail (2.1874) X-Auth-Info: oneil@saxonica.com (plain) Subject: Re: [PHP-DEV] PHP C++ extension on Windows From: oneil@saxonica.com (O'Neil Delpratt) --Apple-Mail=_2787801E-F6C6-4ED0-8E6D-8ECC7959BD55 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thanks for your help. On 9 May 2014, at 12:41, Pierre Joye wrote: > On Fri, May 9, 2014 at 12:06 PM, O'Neil Delpratt = wrote: >>=20 >> On 9 May 2014, at 10:26, Pierre Joye wrote: >>=20 >>> hi, >>>=20 >>> On Fri, May 9, 2014 at 11:20 AM, O'Neil Delpratt = wrote: >>>> Hi, >>>>=20 >>>> Is there a better way to build a PHP C++ extension for PHP 5.5 than = in Visual studio? I know it can be done in the PHP build process for = windows as described in the book =93Extending and Embedding PHP=94 by = Sara Golemon which I did try but failed with linking errors, maybe = because of the config.w32 file not being setup properly. Under linux I = have no issues. >>>=20 >>> Actually the better and recommended way is not to use VS but for = debugging. >>>=20 >>> See https://wiki.php.net/internals/windows/stepbystepbuild >>=20 >>=20 >> How about building your own extension? There seems to be a lack of = information about doing that on windows >=20 > same, copy it to the ../pecl/ directory, run buildconf etc. >=20 > You can use phpize too if your exts do not have dependencies against > other extension. >=20 > The process is also described in the wiki >=20 > Cheers, > --=20 > Pierre >=20 > @pierrejoye | http://www.libgd.org ------------------------------- O'Neil Delpratt Software Developer, Saxonica Limited Email: oneil@saxonica.com Tel: +44 118 946 5894 Web: http://www.saxonica.com Saxonica Community site: http://dev.saxonica.com Bug tracking site: https://saxonica.plan.io/ --Apple-Mail=_2787801E-F6C6-4ED0-8E6D-8ECC7959BD55--