Hello Monks -- would appreciate some assistance, if anyone has any experience with building microperl for an embedded target. I am building it using the current perl distribution 5.20.0. I found a few snippets here and there, and the concept seems simple, however I've run into trouble. I've been able to build microperl, and run it, in my host environment (Debian/Jesse). Then I have tried building it for my embedded PPC target:
$ make -f Makefile.micro CC=powerpc-603e-linux-gcc
What I find is that the build process runs on my host, but it builds the "helper" (I think) ugenerate_uudmap and then tries to use it. But since it was built for the target, the binary will not run on the host, for the build. The error message says "./ugenerate_uudmap: ./ugenerate_uudmap: cannot execute binary file".
Prior to that, the make is running these two lines:
powerpc-603e-linux-gcc -o ugenerate_uudmap ugenerate_uudmap.o -lm
./ugenerate_uudmap uuudmap.h ubitcount.h umg_data.h
I would really appreciate any assistance. Thanks.