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

Re: Bootstrapping gcc and then (if I could) glibc



Hello Lluís,

2009/8/27 Lluís Batlle <viriketo@gmail.com>:
> I'm not crosscompiling. I'm using a debian and a fedora on arm. I have
> two Sheevaplugs available, and try in both. I'd like to bootstrap gcc
> there. So I'll keep on debian-arm :)
> I could have asked the same in both lists, but I thought I could
> offend someone, sending to the fedora and debian lists at once.

OK, understood. It is unusual to bootstrap Debian from source, but it
is more usual to bootstrap it from binaries[1] with a tool called
debootstrap. But anyway, if you are trying to bootstrap gcc from
source (exactly same thing i am pursuing but in a cross from) on a
native system, you might have to:

$ apt-get source gcc-4.4
$ cd gcc-4.4-*
$ BOOTSTRAP=lean dpkg-buildpackage -us -uc -rfakeroot  (please make
sure of that, BOOTSTRAP variable accepts 3 different values, i am not
sure which one is the one you need)

Then you explain us what happend because this might be half way
implemented I have never tested bootstrapping a native compiler.

Cheers

[1] http://blog.bofh.it/debian/id_265

-- 
 Héctor Orón


Reply to: