Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74090 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92821 invoked from network); 9 May 2014 11:41:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2014 11:41:03 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.177 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.177 mail-qc0-f177.google.com Received: from [209.85.216.177] ([209.85.216.177:49795] helo=mail-qc0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/E0-15882-ECEBC635 for ; Fri, 09 May 2014 07:41:02 -0400 Received: by mail-qc0-f177.google.com with SMTP id i17so4340544qcy.36 for ; Fri, 09 May 2014 04:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=wy6LL0cdaUJrzfzJ22OJojZflvVc3oMZQx6WT6O5sOM=; b=e0M77I7KceLXLzZZqNDTRc2pdp+93mbCsITxXvfVUK/YDujzypcth3V4W5Bbd/mRHa OlQtHE7bpPlCwJvi9Kz75lBFzFUZrpnvt4xaDic5hQz6WycJpUTP5JrewaNTak7Bcrmp MfgYhBa4dgRVodqEeJzMe6ZpBLaUA+HLTQ7qqZ1gh0H9d8WtNXIrVnOekagpbyPqC47a cq1qGWJD24kkb6FVMlkXkxmdtBHUPqjJq1eZ6M/BX9BI5e7dDto5sMaNvzuSyILOsXu4 9qCt9eGVr6exJH/3hVe3KK9ztuN6U/U9gMrJlERihrVH11NDcYg9b3q6lTMAE8zOetrN eoVg== MIME-Version: 1.0 X-Received: by 10.224.80.138 with SMTP id t10mr13662419qak.0.1399635660270; Fri, 09 May 2014 04:41:00 -0700 (PDT) Received: by 10.140.47.231 with HTTP; Fri, 9 May 2014 04:41:00 -0700 (PDT) In-Reply-To: <964B0802-BCEF-4A11-8660-B2E9DA592B9C@saxonica.com> 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> Date: Fri, 9 May 2014 13:41:00 +0200 Message-ID: To: "O'Neil Delpratt" Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] PHP C++ extension on Windows From: pierre.php@gmail.com (Pierre Joye) On Fri, May 9, 2014 at 12:06 PM, O'Neil Delpratt wrote= : > > On 9 May 2014, at 10:26, Pierre Joye wrote: > >> hi, >> >> On Fri, May 9, 2014 at 11:20 AM, O'Neil Delpratt wr= ote: >>> Hi, >>> >>> 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 a= s described in the book =E2=80=9CExtending and Embedding PHP=E2=80=9D by Sa= ra 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= . >> >> Actually the better and recommended way is not to use VS but for debuggi= ng. >> >> See https://wiki.php.net/internals/windows/stepbystepbuild > > > How about building your own extension? There seems to be a lack of inform= ation about doing that on windows same, copy it to the ../pecl/ directory, run buildconf etc. You can use phpize too if your exts do not have dependencies against other extension. The process is also described in the wiki Cheers, --=20 Pierre @pierrejoye | http://www.libgd.org