Re: Need 32 bit supported GCC 4.9 debian binaries for Renesas SH7757 Processor
Wookey <[email protected]>
| Newsgroups | gmane.linux.debian.devel.toolchain,gmane.linux.debian.ports.superh |
|---|---|
| Organization | Wookware |
| Message-ID | <[email protected]> |
+++ John Paul Adrian Glaubitz [2015-06-29 11:44 +0200]: > On 06/29/2015 11:25 AM, Ritesh Prajapati wrote: > > Does anyone knows location from where i can get 32 bit supported > > Debian binaries to compile and install GCC 4.9 toolchain for Renesas > > SH7757 Processor? > > You will probably need to do that yourself, see: > > > https://wiki.debian.org/BuildingCrossCompilers > So you can trivially make a gcc source package to run on i386 targetting sh4 by installing cross-gcc-dev and doing: HOST_LIST=i386 TARGET_LIST=sh4 cross-gcc-gensource 4.9 You can then build that by enabling sh4 as a foreign architecture, updating and building the package. This only works simply if you have up-to-date sh libc, libc-dev and libgcc1 packages for sh4 already, qwhich of course we don't currently have in debian. If not you need to do a bootstrap build: The easiest way to do this is to use rebootstrap: https://wiki.debian.org/HelmutGrohne/rebootstrap git clone git.debian.org:/git/users/helmutg/rebootstrap.git then pbuilder --execute bootstrap.sh HOST_ARCH=sh4 This is tried weekly here: https://jenkins.debian.net/view/rebootstrap/job/rebootstrap_sh4_gcc49/ and builds past the cross-compiler bootstrap, so that gets you what you want. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/