Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 85015 invoked from network); 20 Sep 2010 12:47:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Sep 2010 12:47:17 -0000 Received: (qmail 22490 invoked by uid 500); 20 Sep 2010 12:47:17 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 22407 invoked by uid 500); 20 Sep 2010 12:47:15 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 22399 invoked by uid 99); 20 Sep 2010 12:47:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 12:47:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,MSGID_MULTIPLE_AT,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Wojciech.Meyer@arm.com designates 217.140.96.50 as permitted sender) Received: from [217.140.96.50] (HELO cam-admin0.cambridge.arm.com) (217.140.96.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Sep 2010 12:47:07 +0000 Received: from cam-owa2.Emea.Arm.com (cam-owa2.emea.arm.com [10.1.105.18]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id o8KCi4F9010678 for ; Mon, 20 Sep 2010 13:44:04 +0100 (BST) Received: from E102393 ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 20 Sep 2010 13:46:44 +0100 From: "Wojciech Meyer" To: Subject: [PATCH] STDCXX-1051: Stdcxx build process needs to be able to run configuration executable files created by the build system during configuration step on emulators in order to cross compile the library Date: Mon, 20 Sep 2010 13:46:45 +0100 Message-ID: <000101cb58c1$e27ce740$a776b5c0$@Meyer@arm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0002_01CB58CA.44414F40" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: ActYweHT/N4TJ8XYQKahcBYJSf3aGg== Content-Language: en-gb X-OriginalArrivalTime: 20 Sep 2010 12:46:45.0016 (UTC) FILETIME=[E1C8D980:01CB58C1] ------=_NextPart_000_0002_01CB58CA.44414F40 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0003_01CB58CA.44414F40" ------=_NextPart_001_0003_01CB58CA.44414F40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, We are trying to cross compile stdcxx library. The problem we are facing is that there is no way of telling stdcxx build system, that we don't want to run configuration files created by configuration step by build system directly on a host system (through a shell). For instance, this command (taken from log): ./UNISTD_DECL invoked during configuration process runs natively the executable through a shell. However we want to be able to run it on an emulator like this: UNISTD_DECL This command will run the UNISTD_DECL through an emulator. The patch we are proposing, is to introduce a new Makefile variable, called EXEC_RUNNER, which allows us to do it. EXEC_RUNNER defaults to "/bin/sh -c". so it does not interfere with the rest of build process (at least on Unix/MSys/Cygwin environment, pure Win32 platform has completely separate build system). Patch is against `trunk'. TIA Wojciech ------=_NextPart_001_0003_01CB58CA.44414F40 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

We are trying to cross compile stdcxx library. = The problem we are facing

is that there is no way of telling stdcxx build = system, that we don't

want to run configuration files created by = configuration step by build

system directly on a host system (through a = shell).

 

For instance, this command (taken from = log):

 

./UNISTD_DECL

 

invoked during configuration process runs = natively the executable through

a shell.

 

However we want to be able to run it on an = emulator like this:

 

<path to our emulator> = UNISTD_DECL

 

This command will run the UNISTD_DECL through an emulator.

 

The patch we are proposing, is to introduce a = new Makefile variable, called

EXEC_RUNNER, which allows us to do = it.

 

EXEC_RUNNER defaults to "/bin/sh -c". = so it does not interfere with

the rest of build process (at least on = Unix/MSys/Cygwin environment,

pure Win32 platform has completely separate = build system).

 

Patch is against `trunk'.

 

TIA

Wojciech

 

------=_NextPart_001_0003_01CB58CA.44414F40-- ------=_NextPart_000_0002_01CB58CA.44414F40--