when flex is not installed, configure detects that flex is not installed but doesn't emit an error. Flex is required to build gcc-4.5 (to produce gengtype-lex.c). So, if no flex, no gcc :-)
YC -- Summary: when flex is not installed, gcc build stop because of a non existent file Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ycollet at freesurf dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40618