WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: [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

Re: [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

by "C. Bergström"-3 :: Rate this Message:

| View in Thread

Wojciech Meyer wrote:

>
> 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'.
>
We have ported stdcxx over to cmake and will likely be cross compiling.
(mingw and other targets)  When the work is more complete I'll ping you
for early testing.

 « Return to Thread: [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