[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] How do I build chicken for the MIPS arch?
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] How do I build chicken for the MIPS arch? |
Date: |
Thu, 7 Feb 2013 21:16:47 +0100 |
User-agent: |
Mutt/1.4.2.3i |
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] How do I build chicken for the MIPS arch?, Ivan Reche, 2013/02/07
- Re: [Chicken-users] How do I build chicken for the MIPS arch?, Mario Domenech Goulart, 2013/02/07
- Re: [Chicken-users] How do I build chicken for the MIPS arch?, John Cowan, 2013/02/07
- Re: [Chicken-users] How do I build chicken for the MIPS arch?,
Peter Bex <=
- Re: [Chicken-users] How do I build chicken for the MIPS arch?, John Cowan, 2013/02/07
- Re: [Chicken-users] How do I build chicken for the MIPS arch?, Christian Kellermann, 2013/02/08
- Re: [Chicken-users] How do I build chicken for the MIPS arch?, Ivan Filgueiras, 2013/02/08
- Re: [Chicken-users] How do I build chicken for the MIPS arch?, Mario Domenech Goulart, 2013/02/08
- Re: [Chicken-users] How do I build chicken for the MIPS arch?, Ivan Filgueiras, 2013/02/08
- Re: [Chicken-users] How do I build chicken for the MIPS arch?, Mario Domenech Goulart, 2013/02/10