Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40440 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87946 invoked from network); 10 Sep 2008 15:48:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2008 15:48:35 -0000 Authentication-Results: pb1.pair.com header.from=nunoplopes@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=nunoplopes@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.146.177 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: nunoplopes@gmail.com X-Host-Fingerprint: 209.85.146.177 wa-out-1112.google.com Received: from [209.85.146.177] ([209.85.146.177:54900] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/B1-30769-25CE7C84 for ; Wed, 10 Sep 2008 11:48:34 -0400 Received: by wa-out-1112.google.com with SMTP id v27so1674380wah.17 for ; Wed, 10 Sep 2008 08:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Dpxago7ycx6C4L8XAaHxQFQwAD9cU2lK7LE/8n7e+qA=; b=QcrTT2jP1AzKtroZ5zgPyWhRvp3plWDql5k9aw9glroXTZnu/K2khrAZsvLcYCddyR AzHpIML55Q+ArngTOff6OuPshWcrJ5ZnZvsUcqtd0+fcJ95aLC/3c2hN89gS4CtGrUeq DZiJ7CRDbvbn2WJfdZ4xZUrbPcx4ulQ//7YTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=YCch80NeNbTKYFdWD4KH0UiDT2TsvbfkyJrNAKMqL3qN+Nd4GAQTDboeW+gQO+r4bq iFZzUZa3Oju2QQL5UWAMU9J8Lij+/WZq4WF7LQsujUMsd6Dg7zc4T7HMGNcmUXjV2n8L Ec7fLw/0nGevcALqs8Q2C0LHqIpoLNrTOnaLY= Received: by 10.141.75.6 with SMTP id c6mr875584rvl.286.1221061710397; Wed, 10 Sep 2008 08:48:30 -0700 (PDT) Received: by 10.141.141.7 with HTTP; Wed, 10 Sep 2008 08:48:30 -0700 (PDT) Message-ID: <7ca798440809100848v39d13cd0y60f5ce8a032b114@mail.gmail.com> Date: Wed, 10 Sep 2008 16:48:30 +0100 Sender: nunoplopes@gmail.com To: santi@usansolo.net Cc: internals@lists.php.net, "=?ISO-8859-1?Q?Cristian_Rodr=EDguez?=" In-Reply-To: <0c8e1be56e8889088c5c82e10713662b@usansolo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48C7E278.5040204@suse.de> <0c8e1be56e8889088c5c82e10713662b@usansolo.net> X-Google-Sender-Auth: 9fa817dccc068a74 Subject: Re: [PHP-DEV] Howto build statically linked PHP CGI (without shared libs) From: nlopess@php.net ("Nuno Lopes") > statifier'd version of the CGI works fine.. but we're looking a better > method to directly built the CGI. you can always use llvm and compile all libraries you need to bitcode and then link them with PHP. that way will enable more optimizations and will also reduce the binary size, since llvm will remove the library functions that PHP doesn't use. (details on how to do this are too much off-topic for this list) Still, upgrading a library only represents a problem if its ABI changes (usually the filename changes as well). If not, there isn't any trouble. Nuno