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

Re: Is the emdebian's document correct?

+++ rosetta [05-10-09 14:12 +0800]:
> Dear all
>   I'm a newbie of embedded.
>   I want to create a embedded development in debian following this
> document(http://www.emdebian.org/docs.html).
>   But I face a error in this step:$ TARGET=arch-linux fakeroot
> debian/rules binary-cross (replace arch by arm, alpha,...)

There is no need to build your own cross-compiler any longer. Save your time
and hair by just installing our pre-built compilers (assuming you have an
x86 host):

That page is rather out of date. What you should do is:

Add these lines to your /etc/apt/sources.list:

# deb http://www.emdebian.org/emdebian-tools/oldstable ./
deb http://www.emdebian.org/emdebian-tools/stable ./
# deb http://www.emdebian.org/emdebian-tools/unstable ./

then do 
 aptitude update
 aptitude install gcc-3.3-arm-linux
(which will install the full toolchain (binutils, gcc, cpp, glibc)

You can alternatively install gcc-3.4-arm-linux (which is probably a good
idea as 3.3 is now out of date).

Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/

Reply to: