chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] cross-chicken for m68k-elf


From: Lev Shamardin
Subject: Re: [Chicken-users] cross-chicken for m68k-elf
Date: Sat, 02 Jun 2007 23:32:09 +0400
User-agent: Thunderbird 2.0.0.0 (X11/20070419)

Hi,

felix winkelmann wrote:
> Lev: you will have to configure with "--disable-shared", I'm afraid.
> That means (assuming we can get it to build and run, which is not clear
> yet, since this is pretty bleeding edge) only statically linked eggs
> are supported.

Statically linked eggs are just fine for me, because I do not have dynamic
loading support on the target platform. The problem is still there. I try to
configure like this:

export TARGET_PREFIX=/home/dev/cross-chicken/install
export TARGET_CC="m68k-elf-gcc -m68000"
export TARGET_CFLAGS="-Os -g -fomit-frame-pointer -m68000 -DCONFIG_LINEO -Dlinux
-D__linux__ -Dunix -D__uClinux__ -DEMBED -D__USE_BSD -fno-builtin -msep-data"
export TARGET_LDFLAGS="$TARGET_CFLAGS -Wl,-elf2flt -Wl,-move-rodata 
-nostartfiles"
export TARGET_LIBS="-lc"
export CFLAGS=$TARGET_CFLAGS
export LDFLAGS=$TARGET_LDFLAGS
export LIBS=$TARGET_LIBS
export TARGET_CXX="m68k-elf-g++ -m68000"
export TARGET_RUN_PATH=/usr
./chicken-2.613/configure --without-libffi
--prefix=/home/dev/cross-chicken/install --build=i686-linux --host=m68k-elf
--disable-shared

> What sort of platform is this? Coldfire? Does it have an MMU?

It is DragonBall, and it doesn't have an MMU.

--
Lev.




reply via email to

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