Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73114 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63485 invoked from network); 13 Mar 2014 18:15:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2014 18:15:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=ingwie2000@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ingwie2000@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.215.175 as permitted sender) X-PHP-List-Original-Sender: ingwie2000@googlemail.com X-Host-Fingerprint: 209.85.215.175 mail-ea0-f175.google.com Received: from [209.85.215.175] ([209.85.215.175:46178] helo=mail-ea0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/32-47923-EA5F1235 for ; Thu, 13 Mar 2014 13:15:12 -0500 Received: by mail-ea0-f175.google.com with SMTP id d10so646696eaj.34 for ; Thu, 13 Mar 2014 11:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6XwmrpYisv139YVrd9sg6PEf70DxRxJKYxyRhoAlpOU=; b=ZsbfxlNKMb49B0Lkt8NCM8vNo1sowLFpTF0ETxwwLPuUVSUf2PanYMrpGie3g/PQ6W bPfRwRt7wA5IX65TW7R8u3ENWHod7Fps5PevZaV+vzYjKMlmJ7khlHd1qv7GwVVqhVz4 Gh4+ctdqUwb+q7ZyCAW1TfhergH20h1G6SdsxKXxgy68StUFTag4hp7WRaWvA5c3cT7S +MxlYcwKGaaSqgPuQwr833/9fFZKbSs/0rRQaGQecBJhxf7BUoVcf0ezGmfOruqJBahg Kg2s/h9FJRUGWOavmh0o0rsJgSZEUeJi4Orkal838eE5iavzDCZFlhgT26iVPnidkBrx XUVg== X-Received: by 10.14.109.201 with SMTP id s49mr3777637eeg.88.1394734507386; Thu, 13 Mar 2014 11:15:07 -0700 (PDT) Received: from [192.168.200.19] (dslb-094-219-070-022.pools.arcor-ip.net. [94.219.70.22]) by mx.google.com with ESMTPSA id l42sm10814507eew.19.2014.03.13.11.15.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 11:15:06 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) In-Reply-To: <1394730932.3229.26.camel@guybrush> Date: Thu, 13 Mar 2014 19:15:05 +0100 Cc: internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <1394730932.3229.26.camel@guybrush> To: =?windows-1252?Q?Johannes_Schl=FCter?= X-Mailer: Apple Mail (2.1822) Subject: Re: [PHP-DEV] Building PHP, questions From: ingwie2000@googlemail.com (Kevin Ingwersen) The thing is, that the build itself cant run buildconf or configure, so = I have to =84port=93 the libphp5 part to the build system I am using. With minimal, I just mean to have a runnable scripting engine. Basicaly, = i want to rebuild what you get when using =97disable-all =97enable-static = =97enable-embed.=20 How far is TSMRC a dependency of PHP actually? I might actually need the = thread sefety, so I bet i should compile that in in any case. Am 13.03.2014 um 18:15 schrieb Johannes Schl=FCter = : > On Thu, 2014-03-13 at 17:52 +0100, Kevin Ingwersen wrote: >> Hey there. >>=20 >> For a project I am working on,I want to implement a minimal version = of >> PHP - really, just it and a very tiny subset of modules. Its for >=20 > Define minimal. > cd Zend && ./buildconf && configure && make > combined with one or two trivial patches to get rid of TSRM = dependencies > gives you a standalone library containing only the engine. The result = of > configure --disable-all in the php source is the minimum useful thing. >=20 >> embeding PHP at the end. I can tell that I need to compile realyl >> everything from main and TSRM. But what other fiels do I need to >> compile - AND generate? I know I have to generate config.h - but what >> does it depend on? >=20 > The ones referenced from the current build system's Makefile. I doubt > anybody keeps an extra list. Mind that i.e. TSRM becomes quite small = in > non-tsrm mode. >=20 >> I am not going to be able to use Autotools - because I am porting it >> into a build system I am contributing to. >=20 > Why? You can always build PHP as a library using --enable-embed (add > "=3Dstatic" if you want it to be a static library) and use that from = your > other project, yes this adds a dependency but avoids lots of build > issues. >=20 > johannes >=20 >=20 >=20