This is pretty trivial, but it would be nice to fix. I tried to generate the pdf documents for gcc 4.3.1 on an x86 running fedora 9 without building gcc first. I ran configure with no options (in a separate directory from the gcc source tree), then "make pdf". It generated a lot of the pdf documents, but then quit in one of the subdirectories because ./gcc/xgcc didn't exist. Here's the tail end of the console output:
Checking multilib configuration for libgomp... mkdir -p -- i686-pc-linux-gnu/libgomp Configuring in i686-pc-linux-gnu/libgomp configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for --enable-generated-files-in-srcdir... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes /home/perkins/src/gcc-4.3.1/libgomp/configure: line 2167: /home/perkins/src/gcc-4.3.1-build/./gcc/xgcc: No such file or directory checking for i686-pc-linux-gnu-gcc... /home/perkins/src/gcc-4.3.1-build/./gcc/xgcc -B/home/perkins/src/gcc-4.3.1-build/./gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. make[1]: *** [configure-target-libgomp] Error 1 make[1]: Leaving directory `/home/perkins/src/gcc-4.3.1-build' make: *** [do-pdf] Error 2 -- Summary: make pdf fails if done before another make Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hal at oz dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36779