This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/66277] [regression] cpp-5: fatal error: too many input files


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66277

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems to be a user error.  Just read man page of cpp and gcc, the former
accepts (besides options) just two arguments, infile and outfile, while grub
clearly relies on $(CPP) being able to preprocess many source files at the same
time.
That is gcc -E, not cpp (and if you don't override it from the command line,
that is indeed what the configure will do correctly automatically).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]