|
From: Andrew <ni...@se...> - 2010-08-30 18:17:58
|
30.08.2010 20:49, Stefaan Van Dooren пишет: > Andrew, > > At first I didn't had gcc v3.3 installed. I installed it because at first I couldn't compile the buildenv. SO after some reading I saw this in http://leaf.sourceforge.net/doc/buc-buildtool.html: > > buildenv not building with gcc 4.0 > The Problem > > It seems that gcc 4.0 is not capable of building gcc 3.3.3. Unfortunatly there are a number of package sources right now, that refuse to build with a compiler newer than 3.4. > Solution > > You need to install an additional compiler, normally you should be able to install gcc3.3 or gcc3.4 (at least for ubuntu and debian testing, this is true). After installing, edit make/MasterInclude.mk and set HOSTCC to your newly installed compiler: > > HOSTCC=gcc-3.3 > > Adjust the line above to match whatever compiler actually comes with the package you installed (it might be called gcc33 or gcc-3.4 too, for example). > > So I decided to install gcc 3.3, following that guide. > > But your answer made me think, and I just restarted from a fresh cvs checkout. And all seems to build just fine now. So my guess is that I was missing some depencies in the first place, which were solved installing gcc-3.3. I'm not sure which packages I additionally installed, but right now is going good. > > Regards, > > Stefaan > Yes, vanilla gcc-3.3.3 fails to build with gcc-4.x, but there is a patch in tree to fix this. Also, I added to main tree fix - bracers for $LIST variable - so after rebuilding from scratch you've got fixed version. P.S. Not all packages from this branch will be built - some, like bash and old hardware-related packages, that are in cvs-sourceforge and cvs-contrib-sourceforge. |