The best place to ask this question is on the usenet group comp.lang.python (also reachable via email: [EMAIL PROTECTED]).
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 <[EMAIL PROTECTED]> 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 > [email protected] > http://mail.python.org/mailman/listinfo/compiler-sig > > _______________________________________________ Compiler-sig mailing list [email protected] http://mail.python.org/mailman/listinfo/compiler-sig
