This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Building binutils for PowerPC


Hi,

I got the following error when trying to build GCC:

---clip---
gcc -o c++filt.exe -DCROSS_COMPILE -DIN_GCC -DHAIFA    -g -O2
-DHAVE_CONFIG_H  \
  cxxmain.o underscore.o obstack.o       -ladvapi32 ../libiberty/libiberty.a
/src/build/gcc/texinfo/makeinfo/makeinfo   -I/src/gcc-2.95.2/gcc -o cpp.info
/src/gcc-2.95.2/gcc/cpp.texi
/src/gcc-2.95.2/gcc/cpp.texi: No such file or directory
make[1]: *** [cpp.info] Error 2
make[1]: Leaving directory `/src/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/src/build/gcc'
----clip----

...the strange thing is that the file cpp.texi actually DOES exist at that
location.

I found the below help but none of them helped

Any ideas of what maight be wrong?

Regards, Daniel

---clip----

UWOT? ($srcdir)/gcc/cpp.texi: No such file or directory
make: *** [cpp.info] Error 2

UPDATED: This one shouldn't happen any more if you follow the new build
guidelines.

texinfo files need a different build procedure under cygwin. The simplest
solution once this error has occurred is to just create dummies:


touch cpp.info
touch gcc.info


and make do without them. The *proper* solution is to rename or delete the
texinfo subdirectory in the gcc source code before beginning to build, and
add the flag --with-included-gettext to your configure command.

----clip----




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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