Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13287 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24592 invoked by uid 1010); 12 Oct 2004 20:27:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24562 invoked from network); 12 Oct 2004 20:27:14 -0000 Received: from unknown (HELO utopia.rusko.us) (207.44.144.89) by pb1.pair.com with SMTP; 12 Oct 2004 20:27:14 -0000 Received: from rusko (ool-44c0a1af.dyn.optonline.net [68.192.161.175]) by utopia.rusko.us (Sendmail) with SMTP id 61DA1BBBAB; Tue, 12 Oct 2004 16:27:13 -0400 (EDT) Message-ID: <152201c4b099$c07c1a20$0200a8c0@rusko> To: "Jeremy Johnstone" , References: <90e24d4e041012125377f90111@mail.gmail.com> Date: Tue, 12 Oct 2004 16:26:25 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: Re: [PHP-DEV] Compiling extensions From: paul@rusko.us ("Paul G") ----- Original Message ----- From: "Jeremy Johnstone" To: Sent: Tuesday, October 12, 2004 3:53 PM Subject: [PHP-DEV] Compiling extensions > Forgive me if this sounds like a newbie type question, but hopefully > someone has some advice for me. I am wanting to distribute an > extension I wrote for PHP and was wondering what the best way to > compile it for all platforms would be. I am completely comfortable > compiling the extension under Linux for all versions of PHP, but > looking for the best way to compile for *BSD, Solaris, OSX, and > Windows. Is there a way to do this easily or am I forced to setup a > machine with each platform and compile from it? I thought there was > another way, but not sure, so I thought I would ask. well, normally this would be done with autoconf (if you have code that isn't directly portable), assuming you are distributing it as source. however, to test you would need access to said platforms. have you proposed your extension to pecl? pecl-l would probably be a better place to ask and i would think folks there would be glad to help with testing on the platforms you don't have available. off-topic: you mean you don't have all those in that rack of yours? paul