----- Original Message ----- 
From: "Jeremy Johnstone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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? <g>

paul

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to