[Compiler-sig] /bin/sh: ./python: cannot execute binary file
Neal Norwitz
nnorwitz at gmail.com
Tue May 15 23:30:06 CEST 2007
The best place to ask this question is on the usenet group
comp.lang.python (also reachable via email: python-list at python.org).
Cross compiling doesn't completely work in a stock python. You will
need to find a patch on SF to help. Several people have gotten this
to work.
http://sourceforge.net/tracker/?atid=305470&group_id=5470&func=browse
Good luck,
n
--
On 5/15/07, cvncvbnvbn vbnvbnbn <priyank.patel21 at yahoo.com> wrote:
> I am very newbie to PYTHON,
>
>
> and cross-compiling python 2.4 with arm-linux.
>
> I am getting following error,,
>
> CC='/usr/local/openrg/openrg/pkg/build/rg_gcc'
> LDSHARED='/usr/local/openrg/openrg/pkg/build/rg_gcc
> -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E
> ./setup.py -q build;; \
> *) CC='/usr/local/openrg/openrg/pkg/build/rg_gcc'
> LDSHARED='/usr/local/openrg/openrg/pkg/build/rg_gcc
> -shared' OPT='-DNDEBUG -g -O3 -Wall -Wstrict-prototypes' ./python -E
> ./setup.py build;; \
> esac
> /bin/sh: ./python: cannot execute binary file
> make: *** [sharedmods] Error 126
>
>
>
> can anybody help me, how to run this python binaryfile within MAKEFILE..
>
>
> suggestion will be really appriciated.
>
>
> Regars,,
> Priyank
>
> ________________________________
> Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.
> _______________________________________________
> Compiler-sig mailing list
> Compiler-sig at python.org
> http://mail.python.org/mailman/listinfo/compiler-sig
>
>
More information about the Compiler-sig
mailing list