On Thu, Feb 07, 2013 at 03:13:00PM -0500, John Cowan wrote: > Ivan Reche scripsit: > > > I've tried to achieve it like the following: > > > > C_COMPILER=mipsel-linux-uclibc-gcc make PLATFORM=linux > > That's never going to work. You have to write, beg, borrow, or steal > a translation of apply-hack into MIPS assembly language and put it in > a file named "apply-hack.mips.S". Without that, you can't even start.
That's not true. There's a C fallback which is used in case no assembly version is available. > Then you need to construct Makefile.cross-linux-mipsel-linux, which will > need to contain appropriate definitions for the MIPS environment and the > cross compiler. You can use Makefile.linux and Makefile.cross-linux-mingw > to show you the way. I don't think you need to do all that, unless I'm mistaken. Here's docs on how to cross-build: http://wiki.call-cc.org/man/4/Cross%20development I have done this only once, and by my recollection the recipe from the docs "just worked". I don't know much about it. Cheers, Peter -- http://sjamaan.ath.cx _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users