Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78591 invoked from network); 13 Mar 2014 19:34:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Mar 2014 19:34:33 -0000 Authentication-Results: pb1.pair.com header.from=ingwie2000@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ingwie2000@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.83.45 as permitted sender) X-PHP-List-Original-Sender: ingwie2000@googlemail.com X-Host-Fingerprint: 74.125.83.45 mail-ee0-f45.google.com Received: from [74.125.83.45] ([74.125.83.45:35951] helo=mail-ee0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/65-47923-94802235 for ; Thu, 13 Mar 2014 14:34:33 -0500 Received: by mail-ee0-f45.google.com with SMTP id d17so617741eek.32 for ; Thu, 13 Mar 2014 12:34:30 -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=RqFWKSwkECra3Ij0YBEc4WS3+g3KssxRBnqzG8BaDzc=; b=PcYglli2Qj8f8BLJeTp1/DokOTOyfcu+c86zuzq1XniMAgTyG8kKgrDgegtaQpZDR3 MxrgA1TAv2NC9DyoInQrzqC1wVO4rGo327HPpTumLv0xnUSmqUUkS9WaShbD2s4389Ea KqInFhijPQK2vBIOOwLADetw4R7cIHttDaE7rS8vOKoPGC7BYrNpDmBvhZVT5BzEZuU6 hhciFw2FImyRXVqTH2/RCwjlkoW/VbJOKYJBuPkAu9cO/I1YghYsBnZn4RvCuuMkuFX7 FEbeJvWOxUr6mIEjw4g7Akcsj5tdx0NyKnVp4iZbER/U0qqMR8uo8lOBVE5jA0zUwEta ZNkQ== X-Received: by 10.14.220.193 with SMTP id o41mr4217173eep.22.1394739270533; Thu, 13 Mar 2014 12:34:30 -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 x3sm11561782eep.17.2014.03.13.12.34.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Mar 2014 12:34:29 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) In-Reply-To: <1394737160.3229.48.camel@guybrush> Date: Thu, 13 Mar 2014 20:34:27 +0100 Cc: Pierre Joye , internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <1394730932.3229.26.camel@guybrush> <1394737160.3229.48.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 main platforms are supposed to be Windows, Linux and Mac. The = largest problem that I am encountering is with the varity of compilers = and build systems. The build system I am working has an auto-detect = feature for compilers, and can handle compiling in a rather fast way = (its about to learn parallel building by default). Building PHP on = Windows is a pita, if you cant use Visual Studio=92s command line - I am = usualy building with mingw, but trying to make mingw portable, is = problematic. In the end, the project will be capable of packing userdata into its = binary, by creating a zip file, converting it into a C string (char = array) and then running it. But most users won=92t have a build system = or such, so I am trying to create some kind of =84automatic build=93 - = which can easily be achieved with the build system that I am using. Once = it=92s few files are compiled, it works cross platform and can handle = anything from selecting compilers to generating files. Its less of a = hassle than letting people set up mingw first - cause I can just ship a = portable version of MinGW that can do the job. It probably sounds much like gibberish, because I am kind of sleepy too. = But in general, I want to avoid making even more dependencies. Theo the = rlibrarys in use were ported from CMake and are relatively small. So I = wanted to port PHP to that build system to keep things in one place. Am 13.03.2014 um 19:59 schrieb Johannes Schl=FCter = : > On Thu, 2014-03-13 at 19:50 +0100, Kevin Ingwersen wrote: >> Hey. >>=20 >> Yes, all dependencies are being ported to that build system. PHP is >> the biggest dependency though. There are many scripting languages I >> like, that are even small (ph7, objectscript) - but I trust the >> original PHP the most - so I wish to use it in my project. Hence, to >> make it compatible with my project, I also need to make it build-able >> in my project. >=20 > what kind of platform/system is that, that not even cross-compiling > (which isn't fully supported but still simpler than recreating a build > system) and statically linking won't work? >=20 > johannes >=20