Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51475 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48170 invoked from network); 20 Feb 2011 10:07:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2011 10:07:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:58386] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/C3-21930-FE7E06D4 for ; Sun, 20 Feb 2011 05:07:44 -0500 Received: by iwn3 with SMTP id 3so273429iwn.29 for ; Sun, 20 Feb 2011 02:07:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=zoZ9VRXn09ym3rFro5Km17aPE/xfeK76HYhIw1ARCCU=; b=QUlCP/9P3QzWyjYl/BTJIGa/Dm9Fg9OnANNP0hlmXi3Pavroz0j8WLI3jvgTza4pCE 0UqaPP5rYP5t+uQUAh+9+VnsbEShKMzbZgeE3OnY8aOG18AmpgFHZXaL8wDYb/2UYJHq aivTkbr6FMGKPcQxjVwdpsafqZ0TcrsgXDMAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Sy1wjM++rZYxB1c/fzGdd7ABckwJoV74K0XHx85CwFkAPRo2PGI1gYKo2dFZ/caayX vhV0mtV7qPNcDnf0GfRBjxDDCuyvul2YRJrxPgNYitpa8KX39bExF8z/bjRYWcxgme0Z l953qh2ssnF+tIDNpAbOfwPM32X+p3FfKhBG4= MIME-Version: 1.0 Received: by 10.42.224.66 with SMTP id in2mr285505icb.410.1298196461379; Sun, 20 Feb 2011 02:07:41 -0800 (PST) Received: by 10.231.30.77 with HTTP; Sun, 20 Feb 2011 02:07:41 -0800 (PST) In-Reply-To: References: Date: Sun, 20 Feb 2011 13:07:41 +0300 Message-ID: To: martin@herrman.nl Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP for embedded device: reduce size From: indeyets@gmail.com (Alexey Zakhlestin) On Sat, Feb 19, 2011 at 9:24 PM, Martin Herrman wrote: > All, > > I have cross-compiled php-cgi for a MIPS device (mediaplayer), but the > binary is quite large, more than 3MB. I'm using: > > ./configure --prefix=../result/php-5.3.5 --host=i686-pc-linux-gnu > --target=mipsel-linux-gnu --build=mipsel-linux-gnu --enable-cgi > --disable-all --without-pear --with-config-file-path=/etc/ > > Which options do I have to reduce size of the binary? E.g. can I > remove the zend engine? what do you mean by "remove the zend engine"? zend engine is the core, upon which php is built. -- Alexey Zakhlestin, http://twitter.com/jimi_dini http://www.milkfarmsoft.com/