Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51474 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57146 invoked from network); 19 Feb 2011 18:24:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2011 18:24:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=martin.herrman@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=martin.herrman@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.54 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: martin.herrman@gmail.com X-Host-Fingerprint: 74.125.82.54 mail-ww0-f54.google.com Received: from [74.125.82.54] ([74.125.82.54:63910] helo=mail-ww0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/33-34152-5EA006D4 for ; Sat, 19 Feb 2011 13:24:38 -0500 Received: by wwb31 with SMTP id 31so4970291wwb.11 for ; Sat, 19 Feb 2011 10:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=rTej93rDplLWj0s17rJ/mZPv1TZ7VVz5jgJPZ1xTQKc=; b=SyF/N7ue1AI0u83EYTRN4nYh3YjLoFdVfokUK5xVUOw0f8KJZ5ytRFK6eP2qWoc9+I +6usYFCNzqVBLQMtPFP7wtwez+tknuJRnRFg5GHp/wPAegW67n3Zr2jUiYHUdjoaFvLD kjM6j6Tyo9exrwOBWDIdmgkPwAarxd2Oecj44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:date:x-google-sender-auth:message-id :subject:from:to:content-type; b=N7NqFNsKOJmHEe1lC4tWUpb4O48giEKhesDgTIh7rRkbOdyQbmeHx6ShCy6vT8bIhQ qTvq6TyS1pBfLCsfpLO/7+btibGifJOgNDjWytZGm46JHc3l6VMTlnhRVTKdHmgMG7bx gctR7l60TsEv04B+9qAF5QKBFsBt5a6PfKtSs= MIME-Version: 1.0 Received: by 10.216.58.130 with SMTP id q2mr1818961wec.57.1298139875077; Sat, 19 Feb 2011 10:24:35 -0800 (PST) Sender: martin.herrman@gmail.com Reply-To: martin@herrman.nl Received: by 10.216.27.194 with HTTP; Sat, 19 Feb 2011 10:24:35 -0800 (PST) Date: Sat, 19 Feb 2011 19:24:35 +0100 X-Google-Sender-Auth: qPbvs23DxuF06xHFU0HlWW_g61s Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: PHP for embedded device: reduce size From: martin@herrman.nl (Martin Herrman) 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? Thanks in advance, Martin