Go to the first, previous, next, last section, table of contents.


Missing gperf?

If a build aborts trying to invoke gperf, that strongly suggests an improper method was used to create the gcc source directory, such as the UNIX `cp -r' command instead of `cp -pr', since this problem very likely indicates that the date-time-modified information on the gcc source files is incorrect.

The proper solution is to recreate the gcc source directory from a gcc distribution known to be provided by the FSF.

It is possible you might be able to temporarily work around the problem, however, by trying these commands:

sh# cd gcc
sh# touch c-gperf.h
sh#

These commands update the date-time-modified information for the file produced by the invocation of gperf in the current versions of gcc, so that make no longer believes it needs to update it. This file should already exist in a gcc distribution, but mistakes made when copying the gcc directory can leave the modification information set such that the gperf input files look more "recent" than the corresponding output files.

If the above does not work, definitely start from scratch and avoid copying the gcc using any method that does not reliably preserve date-time-modified information, such as the UNIX `cp -r' command.


Go to the first, previous, next, last section, table of contents.