This is the mail archive of the gcc-help@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]

Re: Need help in debugging the unbuilt compiler


I have made some changes in the source code of the compiler. But,
while building the compiler, it shows an error saying "conftest.c:
cannot compute suffix for object files".
To understand where I am wrong I have installed debugging tools like
"Valgrind" and "ddd". But when I try to debug the conftest.c file I
find that the compiler deletes the conftest.* files when it gets an
error.

The conftest.c error occurs as part of the GCC configure process. The configure script uses small programs to check for certain features of the compiler and runtime environment.


Please check out this link from the Wiki-FAQ http://gcc.gnu.org/wiki/FAQ#configure_suffix which explains how-to proceed further.

As a quick summary: you must check the config.log file in the appropriate directory and there you should find the content of the conftest.c (at least with newer versions) which failed including the error message of the test compilation.

Andi


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