Bug 40618 - when flex is not installed, gcc build stop because of a non existent file
Summary: when flex is not installed, gcc build stop because of a non existent file
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-02 13:32 UTC by collette
Modified: 2009-07-02 17:39 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description collette 2009-07-02 13:32:16 UTC
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
Comment 1 Richard Biener 2009-07-02 15:29:55 UTC
flex is only required to build svn checkouts or snapshots.  Release tarballs
contain the generated files.
Comment 2 collette 2009-07-02 17:39:02 UTC
It should be relatively easy to make configure emit an error when it can't find flex. I have lost a couple of hours before figuring out that flex was missing.

YC