[uClinux-dev] Latest GCC toolchain for m68k

Greg Ungerer gerg at snapgear.com
Tue May 15 08:32:26 EDT 2012


Hi Luis,

On 05/15/2012 09:53 PM, Luis Alves wrote:
> I've tryed using the toolchain that you just uploaded but is failing
> complaining that some shared libraries are missing:
>
> [...]
> /usr/local/libexec/gcc/m68k-uclinux/4.5.1/cc1: error while loading
> shared libraries: libmpfr.so.1: cannot open shared object file: No
> such file or directory
>
> And ldd shows:
>
> # ldd /usr/local/libexec/gcc/m68k-uclinux/4.5.1/cc1
> 	linux-gate.so.1 =>   (0xb7742000)
> 	libmpc.so.2 =>  /usr/lib/libmpc.so.2 (0xb7719000)
> 	libmpfr.so.1 =>  not found
> 	libgmp.so.3 =>  not found
> 	libdl.so.2 =>  /lib/i386-linux-gnu/libdl.so.2 (0xb7713000)
> 	libz.so.1 =>  /lib/i386-linux-gnu/libz.so.1 (0xb76fe000)
> 	libc.so.6 =>  /lib/i386-linux-gnu/libc.so.6 (0xb7580000)
> 	libmpfr.so.4 =>  /usr/lib/libmpfr.so.4 (0xb7529000)
> 	libgmp.so.10 =>  /usr/lib/libgmp.so.10 (0xb74b2000)
> 	/lib/ld-linux.so.2 (0xb7743000)
>
>
> What's the linux distro this has been compiled in (and arch)?

I compiled it on a Ubuntu 10.4 (I think it was 10.4). I had to install
a few extra libs packages, like libmpfr and libgmp. They are an easy
apt-get install on ubuntu.

Regards
Greg


> Anyway, I guess I'll compile my own toolchain.
>
>
> Regards,
> Luis
>
>
> On Tue, May 15, 2012 at 6:00 AM, Greg Ungerer<gerg at snapgear.com>  wrote:
>> Hi Luis,
>>
>>
>> On 15/05/12 01:07, Luis Alves wrote:
>>>
>>> I'm currently using the 'experimental' pre-built gcc toolchain from
>>>
>>> <http://www.uclinux.org/pub/uClinux/arm-elf-tools/tools-20080626/m68k-uclinux-tools-20080626.sh>
>>> to build my uClinux-dist.
>>>
>>> I've never found any issue with that package, so I didn't even bother
>>> to build my own toolchain.
>>>
>>> But now I'm wondering: Is there a newer/better pre-built toolchain, or
>>> sorces for building a more recent one.
>>
>>
>> That tools page on uclinux.org is looking kind of crufty.
>>
>> I am uploading the latest one I generated and use now, 20101118.
>> It is based around gcc-4.5.1. I have been using it for quite a while
>> and have no problems with it.
>>
>> As Ivica suggests the code sourcery ones are a good choice too.
>>
>> Or if you feel up to it take the build script in with the 20101118
>> sources and try building your own. It is character building :-)
>>
>> Regards
>> Greg
>>
>>
>> ------------------------------------------------------------------------
>> Greg Ungerer á-- áPrincipal Engineer á á á áEMAIL: á á gerg at snapgear.com
>> SnapGear Group, McAfee á á á á á á á á á á áPHONE: á á á +61 7 3435 2888
>> 8 Gardner Close á á á á á á á á á á á á á á FAX: á á á á +61 7 3217 5323
>> Milton, QLD, 4064, Australia á á á á á á á áWEB: http://www.SnapGear.com
>
>
>


-- 
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     gerg at snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com



More information about the uClinux-dev mailing list