[Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52378 --- Comment #3 from Andrew Pinski 2012-02-25 09:09:34 UTC --- (In reply to comment #2) > PPS Thanks also for mentioning flex: maybe it should be moved to the > "Tools/packages necessary for building GCC" section (currently it is in the > "Tools/packages necessary for modifying GCC" section) on page > http://gcc.gnu.org/install/prerequisites.html since I only read the former > since I just want to try to use the leading edge version, not modify it. Well there is a reason why it is part of the modifying GCC section. building GCC section is for building from releases. While modifying GCC section is for building from svn and snapshots.
[Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52378 Mark Summerfield changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||INVALID --- Comment #2 from Mark Summerfield 2012-02-25 09:06:33 UTC --- I'm v. sorry, I read the instructions carefully but still managed to miss the point about doing the build out of tree since I don't need to do that for other things. I've now built it sucessfully. Thanks! PS I had to do 'make realclean' in the source directory before it would build. PPS Thanks also for mentioning flex: maybe it should be moved to the "Tools/packages necessary for building GCC" section (currently it is in the "Tools/packages necessary for modifying GCC" section) on page http://gcc.gnu.org/install/prerequisites.html since I only read the former since I just want to try to use the leading edge version, not modify it.
[Bug target/52378] Can't build most recent svn version, i.e., trunk 4.7.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52378 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2012-02-25 Ever Confirmed|0 |1 --- Comment #1 from Andrew Pinski 2012-02-25 07:46:51 UTC --- >./configure I bet this is just a problem with you building in the src directory. This is not always supported and not always 100% working. Can you try building in an object directory? Also do you have flex since that is required while building from subversion (but not from the release tarballs)?