[coreboot] cross build tools
Leandro Dorileo
ldorileo at gmail.com
Wed Apr 8 19:00:18 CEST 2009
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 at 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.
--
(°= Leandro Dorileo
//\ ldorileo at gmail.com - http://www.dorilex.net
V_/ Software is a matter of freedom.
More information about the coreboot
mailing list