On Mon, Nov 5, 2018 at 6:14 PM Sebastian Miele <sebastian.mi...@gmail.com>
wrote:

> first-setup.sh from ConTeXt standalone contains the following lines:
>
> readelf -A /proc/self/exe | grep -q '^ \+Tag_ABI_VFP_args'
> if [ ! $? ]; then
>
> That probably does not work as intended, because [ ! $? ] is
> equivalent to [ ! -n $? ]. It does not return the negation of the
> return code of the previous command. [ ! 0 ] and [ ! 1 ] both have
> exit code 1, because the strings '0' and '1' are both non-null.
>
> Probably no-one actually uses ARMv7 with softfp, including me.
>

Ok, thank you very much.
(I think that the script could be something like
readelf -A /proc/self/exe | grep -q '^ \+Tag_ABI_VFP_args' && true ||
platform="linux-armel"
)

Are you using 32bit linux-gnueabi ?


-- 
luigi
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to