Re: multiarch compatible cross compilers for Jessie

YunQiang Su <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <CAKcpw6X5BGjs=bdyzZB72=Y3i9O=AgQu=VbtmK4s35gh_xf7sw@mail.gmail.com>
For armhf, I guess you can get the cross complier with:

1. install the libraries such as libc6-dev:armhf etc and other
build-dep for gcc-4.9
2. apt-get source gcc-4.9
3. build gcc-4.9 with this command
with_deps_on_target_arch_pkgs=yes DH_VERBOSE=1 WITH_SYSROOT=/
BACKPORT=false PKG_IGNORE_CURRENTLY_BUILDING=1
DEB_BUILD_OPTIONS=nostrip BACKPORT=false DEB_TARGET_ARCH=armhf
dpkg-buildpackage -b -uc -us -d

then you can get packages like 'gcc-4.9-armhf-linux-gnu:amd64' and
'g++-4.9-armhf-linux-gnu:amd64' etc packages.


On Fri, Aug 8, 2014 at 12:39 AM, Jean-Christian de Rivaz <[email protected]> wrote:
> As I understand, emDebian is now in a kind of "reloaded" state to take
> advantage of multiarch.
>
> Is there already multiarch cross compiler available for Jessie ?
>
> Regards,
> Jean-Christian
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact
> [email protected]
> Archive: https://lists.debian.org/[email protected]
>



-- 
YunQiang Su
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.