Cross compiling DIM on Linux for ETRAX from scratch
Download DIM
You can download DIM
here.
Download the altered makefiles for compiling DIM for Etrax here:
Overwrite the old makefiles and run make.
Alternatively, ...
Check out the CVS Project containing DIM, ready to be cross compiled, and as an option a DIM client and server, suitable for transmitting strings, q.v.
cross compile and install DIM on ETRAX for further information.
Check the environment variables
If you took the DIMCross version, read the README file and install as instructed. This DIMCross version makes two libraries, one for x86, and one for etrax architecture. These are found in directorys dim/linux and dim/linux-etrax.
If you want to install DIM for Etrax manually, check out these environment variables:
- You need environment variables for your Axis devboard, the SDK for cross compilation. Therefore, change directory to your SDK, like
cd home/devboard-R2_01/
, and source . init env
.
- Now setup some variables for DIM:
-
export OS=Linux
-
export ODIR=linux-etrax
-
export ARCH=etrax
- Call
. setup.sh
from DIM, in the DIM root directory.
Now call make clean in the DIM directory, then make all. DIM for Etrax is ready.
--
MartinFeldmann - 20 Feb 2007
--
PeterZumbruch - 22 Mar 2007