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

Re: emchain -a arm failure



On Wed, 2008-02-27 at 23:35 +0000, Wookey wrote:
> On 2008-02-27 18:20 +0100, Thomas Petazzoni wrote:
> > Hi,
> > 
> > emchain -a arm fails with:
> 
> > I'm not particularly interested in using gcc 4.3. gcc 4.2 would be
> > fine, but I don't know how to select it using emchain.
> 
> emchain can only build 'latest' and from time to time 'latest' is
> broken for cross-builds. Now is such a time.
> 
> You may have more success installing a pre-built toolchain:
> http://www.emdebian.org/tools/crosstools.html
> 

emsetup in 0.8.2 does have a little helper for this situation:

   --download VERSION
     Sometimes, the Emdebian toolchains get behind the version of gcc in
     Debian itself and problems in the later version of gcc could mean
     that it does not build cleanly so emchain cannot fill the gap. In
     this situation, there will be a delay in providing an updated
     Emdebian toolchain for the new version but emsetup will not be able
     to install the old one on new installations. This can be a
     complicated situation but it may be possible to force the
     installation of the toolchain using dpkg --force-depends.

     Download tries to help you, a little bit.  VERSION specifies the
     version of gcc that you want to be able to use, e.g. for gcc-4.2,
     specify 4.2. The relevant gcc packages for your selected
     architecture are downloaded from the Emdebian repository.
     Supporting packages are downloaded using apt-cross. Packages that
     are already installed are omitted.


> There is some breakage here too, but if you select testing instead of
> unstable in /etc/apt/sources.d/emdebian then you should be able to
> install gcc-4.1 or 4.2

Once downloaded, you can use various --force-depends commands with dpkg
to override the temporary breakage.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: