Hi, stefan, i tried to use the crossgcc scipt, but the last source code binutils-2.18-50-20080109-2 can not be found. Can you give me another link? I tried to find some other source code including binutils-2.18.tat.gz, but failed with combining gcc with binutils.
Hello! Jason I normally use the Cross Tool kit from Dan Kegel for building cross building chains. Now for me the chosen release number for a certain processor isn't exactly happy about my distribution's chosen release of GCC for the release number.
But that's not a processor used on anything Coreboot has selected so we need not worry.
-- Gregg C Levine hansolofalcon@worldnet.att.net "The Force will be with you always." Obi-Wan Kenobi -----Original Message----- From: coreboot-bounces@coreboot.org [mailto:coreboot-bounces@coreboot.org] On Behalf Of Jason Wang Sent: Tuesday, April 07, 2009 12:40 PM To: coreboot@coreboot.org; Stefan Reinauer Subject: [coreboot] cross build tools
Hi, stefan, i tried to use the crossgcc scipt, but the last source code binutils-2.18-50-20080109-2 can not be found. Can you give me another link? I tried to find some other source code including binutils-2.18.tat.gz, but failed with combining gcc with binutils.
Hi, Jason,
On 07.04.2009 18:39 Uhr, Jason Wang wrote:
Hi, stefan, i tried to use the crossgcc scipt, but the last source code binutils-2.18-50-20080109-2 can not be found. Can you give me another link? I tried to find some other source code including binutils-2.18.tat.gz, but failed with combining gcc with binutils.
I put a copy of the files to http://coreboot.org/~stepan/crossgcc-tarballs/
Best regards Stefan
Hi Jason
If you are using Debian, build your cross compilation tool set should be as simple as:
$ apt-get source binutils gcc-4.3
$ sudo apt-get build-dep binutils
$ sudo apt-get install dpkg-cross
$ sudo apt-get build-dep gcc-4.3
$ cd binutils-2.19.1
$ TARGET=i386-elf fakeroot debian/rules binary-cross
$ cd ..
$ sudo dpkg -i binutils-i386-elf_2.19.1-1_i386.deb
$ cd ../gcc-4.3-4.3.3
$ export GCC_TARGET=i386-elf
$ ./debian/rules control
$ dpkg-buildpackage -us -uc -rfakeroot -d
PS: I hope I`ve not forgotten anything ;-) PSI: Building/installing the packages with/for apt makes your life easier while removing updating and so on.
On Tue, Apr 7, 2009 at 12:39 PM, Jason Wang wangqingpei@gmail.com wrote:
Hi, stefan, i tried to use the crossgcc scipt, but the last source code binutils-2.18-50-20080109-2 can not be found. Can you give me another link? I tried to find some other source code including binutils-2.18.tat.gz, but failed with combining gcc with binutils.