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


-----Oorspronkelijk bericht-----
Van: Andrew [mailto:[email protected]]
Verzonden: ma 30-8-2010 13:04
Aan: [email protected]
Onderwerp: Re: [leaf-user] ubering4

You have gcc v3.3 preinstalled on your system, and use it for building 
all? In that case, of course, -fno-stack-protector flag will cause an 
error - it's for 4.2.x & higher compilers, to disable stack protection 
(like in earlier GCC). Possible it'll be good to check version and then 
decide if this flag needed - but is it really actual now, when most 
systems have GCC 4.2.x or even 4.4.x ?


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to