Re: Installation of Emdebian cross development tools on a Ubuntu host

Patrick Doyle <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
2011/4/18 Hector Oron <[email protected]>:
> Hi Patrick,
>
> Keeping mail on-list it is always much preferred.
Argghhh!!! It was supposed to have gone to the list,  but I must have
done a reply instead of reply-all.  Arrgg!

>
> 2011/4/18 Patrick Doyle <[email protected]>:
>> On Sun, Apr 17, 2011 at 5:17 AM, Hector Oron <[email protected]> wrote:
>>> Hi,
>>>
>>> 2011/4/17 Patrick Doyle <[email protected]>:
>>>> What is the recommended/proper way to install the Emdebian cross
>>>> development tools on a Ubuntu host?
>>>
>>> Ubuntu is shipping its own toolchain version for armel, Marcin creates them.
>>>
>> How would I install that?  This didn't work:
>>
>> $ sudo apt-get install linux-libc-dev-armel-cross libc6-armel-cross
>> libc6-dev-armel-cross binutils-arm-linux-gnueabi
>> gcc-4.4-arm-linux-gnueabi g++-4.4-arm-linux-gnueabi
>> [sudo] password for wpd:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Couldn't find package linux-libc-dev-armel-cross
>
> It works for me, I have no idea, maybe Marcin can help here?
>
Am I supposed to add the

deb http://www.emdebian.org/debian/ squeeze main

line to my sources.list?  I've been under the impression that mixing
Debian repositories with Ubuntu repositories wasn't a good idea, and
have been attempting to figure out how to install the cross
development tools without that repository.

Perhaps that is the source of my problem.  (Although, when I tried
that, I still had the libmpfr4 problem).

--wpd

>>>> I found http://lists.debian.org/debian-embedded/2011/04/msg00056.html
>>>> (which I just realized was posted only 4 days ago) where the OP has
>>>> encountered the same problem installing the MIPS toolchain as I have
>>>> encountered in attempting to install the armel toolchain, namely:
>>>>
>>>>  cpp-4.4-arm-linux-gnueabi: Depends: libmpfr4 which is a virtual package.
>>>>  G++-4.4-arm-linux-gnueabi: Depends: libmpfr4 which is a virtual package.
>>>
>>> It is libmpfr4 not found on standard Ubuntu?
>> Nope,
>> $ sudo apt-get install libmpfr4
>> [sudo] password for wpd:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Couldn't find package libmpfr4
>
> ditto
>
>> or, perhaps I don't understand how to install libmpfr4 or what it is.
>>
>>>> I have found a few miscellaneous web pages that suggest that:
>>>>
>>>> $ sudo aptitude install linux-libc-dev-armel-cross libc6-armel-cross
>>>> libc6-dev-armel-cross binutils-arm-linux-gnueabi
>>>> gcc-4.4-arm-linux-gnueabi g++-4.4-arm-linux-gnueabi
>>>>
>>>> should just work out of the box, so I'm thinking that something must
>>>> have changed recently.
>>>
>>> That should work out of the box in Debian/Squeeze
>> yep, I tried that.  It worked on a Debian (virtual) box.  But I can't
>> figure out how to make it work on a Ubuntu box.
>
> Marcin or Loic can probably help you further.
>
>>>
>>>> Any tips?
>>>
>>> http://wiki.debian.org/EmdebianToolchain
>> Thanks... I hadn't found that page.  From that, it sounds like I need
>> to add emdebian.org to my source.list file, but that sounds different
>> than "Ubuntu is shipping its own toolchain version for armel"
>>
>> Thanks for the tips.
>>
>> --wpd
>>
>
>
>
> --
>  Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.
>
> "Our Sun unleashes tremendous flares expelling hot gas into the Solar
> System, which one day will disconnect us."
>
> -- Day DVB-T stop working nicely
> Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.