chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] cross compilation, emedded platform


From: felix winkelmann
Subject: Re: [Chicken-users] cross compilation, emedded platform
Date: Tue, 4 Jul 2006 13:19:16 +0200

On 7/3/06, Dan <address@hidden> wrote:
I'm thinking about porting Chicken to an embedded
platform (a DSP). I basically have a C compiler and
embedded library (no printf). The library is not glibc
or compatible. Where should I even start? CMake has
been advocated for before, but it seems that it needs
to know about the platform.

Hi, Dan!

Very interesting! Basically, you should be able to build
a minimal chicken application by hand, provided you have a robust
C compiler (it's not gcc, I suppose) and implementations
of the required libc functions (see chicken.h: it defines
various macros named "C_strcmp", etc. which can be
overridden by a preprocesor macro and an additional
header file). You also have to check the direction into
which the stack grows. It's a bit of work, though.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]