Re: [AD] Windows Android build broken

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I needed this too.

Thanks,
Trent

From: nooskewl@xxxxxx
Sent: ‎Tuesday‎, ‎November‎ ‎12‎, ‎2013 ‎8‎:‎56‎ ‎AM
To: Peter Wang

Is there anything wrong with this patch to disable all this stuff with WANT_EXAMPLES=off? I haven’t tried building the jar yet but I assume it’s still possible manually?

Thanks,
Trent

From: Peter Wang
Sent: ‎Tuesday‎, ‎November‎ ‎12‎, ‎2013 ‎4‎:‎44‎ ‎AM
To: nooskewl@xxxxxx
Cc: Allegro Development

On Tue, 12 Nov 2013 19:55:32 +1100, Peter Wang <novalazy@xxxxxxxxx> wrote:
> On Mon, 11 Nov 2013 23:54:54 +0000, nooskewl@xxxxxx wrote:
> > OK to be more clear, MSYS mangles the paths somehow so I’m not sure how to run it without being in that directory other than using the 8.3 filenames. cmd.exe is getting “C:\Program” as input even if I put it in single or double quotes, escape it or use the MSYS /c/Program\ Files.. notation.
> >
>
> I can think of a few workarounds:
>
> 1. we just call cmd.exe /c android.bat and hope it's on the PATH
>
> 2. we generate a local batch file containing the full path to
>    android.bat and call the local batch file.  The local path
>    better not have spaces itself, but we could use a relative path.
>
> 3. since building the examples requires python we could call a
>    trivial python script which then calls android.bat

Actually, the python option is better if it works.  We only call
android.bat directly in android/allegro_activity and android/example,
and the latter is unimportant or could be changed.  It would be better
to use a uniform solution.

Peter

Attachment: bigger.diff
Description: =?utf-8?Q?bigger.diff?=



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/