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

How can i setup gcc-4.3-arm-linux-gnueabi?



Dear All,
i have installed Debian 4 on my PC, i want to install
gcc-4.3-arm-linux-gnueabi.
according to this link
http://www.emdebian.org/tools/crosstools.html

there are two methods to do this:
Automatic Method:
***************************************************************************
1. you need to add the emdebian repository to your sources.list.
2. If you install emdebian-tools, and
3. run emsetup -a arch it will add suitable sources.list entries for you.
Be sure to edit /etc/apt/sources.list.d/ files and add your Debian suite.
***************************************************************************

Manual Method:
To set things up manually
***************************************************************************
1. edit /etc/apt/sources.list to add one of the lines below.

#
# -- Emdebian sources.list entries
#
# deb http://www.emdebian.org/debian/ unstable main
# deb http://www.emdebian.org/debian/ testing main
deb http://www.emdebian.org/debian/ lenny main

2. Then do apt-get update to update your local lists.

3. Once you have that then install whichever version of the tools you want. e.g:
apt-get install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi
will install the gcc-4.3 C and C++ toolchain for armel cross-compiling.

***************************************************************************

Actually, i have tried the manual way but i got the following errors:
***************************************************************************
Reading package lists... Done
Building dependency tree... Done
libc6-armel-cross is already the newest version.
libc6-dev-armel-cross is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  binutils-arm-linux-gnueabi: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch4 is to be installed
  g++-4.3-arm-linux-gnueabi: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch4 is to be installed
                             Depends: libmpfr1ldbl but it is not installable
  gcc-4.3-arm-linux-gnueabi: Depends: cpp-4.3-arm-linux-gnueabi (= 4.3.2-1.1) but it is not going to be installed
                             Depends: libgomp1 (>= 4.3.2-1.1) but it is not installable
                             Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch4 is to be installed
E: Broken packages

***************************************************************************
Does anyone know how to fix these errors?
Also i have tried the automatic method but till now i dont know how can i setup emdebian-tools? what is the reprository that i have to write in sources.list ?

thanks in advance


thanks in advance fo your help




Reply to: