[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-compilation

From: Ladislav Michl
Subject: Re: Cross-compilation
Date: Sun, 12 Jan 2020 16:50:29 +0100

On Fri, Jan 10, 2020 at 03:46:47PM +0100, Ladislav Michl wrote:
> Hi Frederik,
> On Fri, Jan 10, 2020 at 02:59:03PM +0100, Frederik Seiffert wrote:
> > Hi Ladislav,
> > 
> > You might want to have a look at the scripts of the GNUstep Android 
> > toolchain project, which cross-compiles GNUstep for Android:
> >
> This one I already evaluated, it sets --host even on gnustep-make
> package, but this package is not target, but cross one.

...and it works only because all used tools are set in environment in
> > Hope that helps, and let me know if you have any questions.
> Yes, those I already asked :) In case even gnustep-make is target package,
> I can live with that, but then I need to hack my cross build enviroment
> to accept this exception, just because it is ... exception. I'm not aware
> any other package being setup this way.

Well, tools-android project is pretty misleading example and setting
--host=${ANDROID_TARGET} in phases/ is just wrong.

gnustep-make itself is a (cross)tool package, it does evaluate compile
tools and makes decision based on that. Obviously, it cannot do that
for tools running on host. See autoconf manual for more:

As section '1.2.5 Configuring for a cross-compile target' of
gnustep-make/INSTALL is already there, let's fix configure script
to follow it.

Unfortunately, was cultivated to meet various needs
as they showed up, so it is not easy to fix without breaking anyone's
setup. I'll sent patches to test in separate thread.

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]