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

Re: armfh cross-build toolchain



On 2012-09-28 19:37, Gilles Filippini wrote:
> Gilles Filippini a écrit , Le 27/09/2012 22:42:
>> [ Please CC me on answer as I'm not subscribed to the list ]
>>
>> I can't find any cross-build toolchain for armhf in the emdebian repo.
>> Is it available?
> 
> I've finally found the armhf toolchains for unstable (was previously
> sticking to wheezy), but none of them provide the version-less binary
> ./configure is looking for: arm-linux-gnueabihf-gcc.
> 
> Do I miss something?

No, that's correct.  There is currently no package like gcc-defaults
(which builds the gcc, cpp, g++, etc. packages that provide
/usr/bin/gcc, /usr/bin/cpp, /usr/bin/g++, etc. symbolic links) for cross
toolchains. [1]

You can simply create the links you need, e.g.:

    # ln -s arm-linux-gnueabihf-gcc-ranlib-4.7 \
    > /usr/bin/arm-linux-gnueabihf-gcc-ranlib
    # ln -s arm-linux-gnueabihf-gcc-nm-4.7 \
    > /usr/bin/arm-linux-gnueabihf-gcc-nm
    # ln -s arm-linux-gnueabihf-gcc-ar-4.7 \
    > /usr/bin/arm-linux-gnueabihf-gcc-ar
    # ln -s arm-linux-gnueabihf-gcc-4.7 \
    > /usr/bin/arm-linux-gnueabihf-gcc
    # ln -s arm-linux-gnueabihf-gcov-4.7 \
    > /usr/bin/arm-linux-gnueabihf-gcov
    # ln -s arm-linux-gnueabihf-g++-4.7 \
    > /usr/bin/arm-linux-gnueabihf-g++

> Thanks,
> 
> _g.

[1]:
http://lists.mister-muffin.de/pipermail/debian-bootstrap/2012-July/000248.html

-- 
P. J. McDermott                                        (_/@\_)    ,--.
http://www.pehjota.net/                           o    < o o >   / oo \
http://www.pehjota.net/contact.html                 o   \ `-/    | <> |.
                                                o o o    "~v    /_\--/_/


Reply to: