Re: [AD] Windows Android build broken |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Tue, 12 Nov 2013 19:55:32 +1100, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On Mon, 11 Nov 2013 23:54:54 +0000, nooskewl@xxxxxxxxxx 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