Hi Querent,

Just in case it is helpful, I built c5 successfully on Termux like this:

make PLATFORM=android PREFIX=$HOME/c5/ install

Installing clang also gives an gcc executable/alias for me. I don't know
what the default TMPDIR is, but that too works here.

I untared directly on my device, so Peter's suggestion is probably in the
right direction.

K.

On Tue, Sep 18, 2018, 14:37 Peter Bex <[email protected]> wrote:

> On Tue, Sep 18, 2018 at 11:20:08PM +1200, querent wrote:
> > Better late than never?
>
> Absolutely!
>
> >    Operating system: android 7.0
> >    Hardware platform: aarch64
> >    C Compiler: gcc 7.3.0
> >    Installation works?: no
> >    Tests work?: N/A
> >    Installation of eggs works?: N/A
> >    I was following Alexander Shendl's instructions to build in termux
> >    (chicken 4.12, but I thought it might work for 5.0.0 too, perhaps
> >    mistakenly) and this is what I get:
> >    $ TMPDIR=$HOME/tmp make C_COMPILER=clang PREFIX=$HOME/chickens/5.0.0
> >    PLATFORM=android install
> >    [all the echoing snipped]
> >    clang -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H
> >    -DC_ENABLE_PTABLES -c -Os -fomit-frame-pointer
> -DC_BUILDING_LIBCHICKEN
> >    library.c -o library-static.o -I. -I./
> >    chicken  eval.scm -optimize-level 2 -include-path . -include-path ./
> >    -inline -ignore-repository -feature chicken-bootstrap -no-warnings
> >    -specialize -consult-types-file ./types.db  -explicit-use -no-trace
> >    -output-file eval.c \
> >    -emit-import-library chicken.eval \
> >    -emit-import-library chicken.load
> >    make: chicken: Command not found
> >    make: *** [rules.make:788: eval.c] Error 127
> >    perhaps there's something I'm not doing right here?
>
> Could you check the timestamp of eval.c is newer than all of the
> following Scheme files?
>
> - eval.scm
> - chicken.blob.import.scm
> - chicken.condition.import.scm
> - chicken.foreign.import.scm
> - chicken.internal.import.scm
> - chicken.keyword.import.scm
> - chicken.platform.import.scm
>
> Please check them after untarring and after the failed build.  Maybe
> something is touching those files.  Also, did you untar on the device,
> or copy the files?  If the latter, you'd have to copy with preservation
> of time stamps.
>
> Cheers,
> Peter
> _______________________________________________
> Chicken-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to