hi, i want to run moses on raspberry pi which have arm processor, normally on pc , when we install moses, it first compiled using GCC compiler as per config file....
but to install moses on raspberry pi ,moses should get compile with arm " *using gcc : arm : arm-linux-gnueabihf-g++ ;* so what changes should we need to make in configuration file of moses, so that it will get compiled with *arm-linux-gnueabihf-g++ *instead of "gcc"... so plz tell me how to do this cross compilation ....?? my logic - *on PC - moses installed in following way -* ./bjam --with boost=path_of_boost_1_59_0 -j5 moses uses above ./bjam for compilation ...this will compile moses..during this ,moses uses its config file which default uses gcc *for arm -* i cross compiled this "boost" using following site : *http://stackoverflow.com/questions/29029867/cross-compile-boost-1-57-0-on-ubuntu-for-arm <http://stackoverflow.com/questions/29029867/cross-compile-boost-1-57-0-on-ubuntu-for-arm>* now this boost lib will be compatible to arm ... ./bjam -- with-boot=path_of_cross_compiled_boost -j5 using above , moses should start compiling using arm g++ , but it still starts to compile using gcc ...not arm-g++ so i think we need to make some changes in configuration file of moses... so plz tell me, do u have idea about how to run moses on raspberry pi with arm architecture ..??? plz help On Thu, Nov 26, 2015 at 2:53 AM, Hieu Hoang <[email protected]> wrote: > i also have a raspberry pi. If you find out how, i would love to know! > > > On 25/11/2015 08:27, Apurva Joshi wrote: > > hello all, > > i run moses on pc which does not contain moses successfully , by copying > > moses.ini > phrase table > reordering table > LM > moses( binary from ~/mosesdecoder/bin/moses) > > i copied above files to pc which does not contain moses > > and then on that pc i ran > > moses -f moses.ini > > its worked... > > NOW > > same procedure i used for running on raspberry pi.. > > on raspberry pi board , i copied all above 5 files > > and ran moses -f moses.ini > > its showing errror that " > > > > > *cant run binary" -bash: /home/ubuntu/Apurva/moses: cannot execute binary > file: Exec format error * > so i need to cross-compile moses (binary) for ARM on raspberry pi board > > i dont know how to do cross compilation of binary for ARM > > plz help and reply on same id > > [email protected] > > > _______________________________________________ > Moses-support mailing > [email protected]http://mailman.mit.edu/mailman/listinfo/moses-support > > > -- > Hieu Hoanghttp://www.hoang.co.uk/hieu > >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
