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]

Problems in building gcc for an HP B2000 running B.11.11 Help!!!!


Hi 
  I am trying to build gcc for an HP B2000 and was wondering if anybody out there could tell me what I am doing wrong.

  I am trying to build gcc-2.95.3 as I have already built this elsewhere as a cross-compiler.

  I am using a version of the hp 'c' compiler to try and do the build.

  I have downloaded binutils and built it successfully.  However it seems that the GNU ld is not supported for the target  hp9k785 and it must use the native ld which resides in /usr/ccs/bin/

  I set CC to cc

  I use the following command to configure the make:-

  ./configure --with-gnu-as --enable-languages=c --target=hp9k785

  I then type in make and get the following problems:-

  1.  I need to edit the file gcc/function.c and remove the spaces in front of the line #endif at line number 6930.
       Fixed that, no big deal.

  2.  CC failed to find the include file sys/stdsyms.h.  I'm not sure why this is, but I fixed it by adding -I/usr/include to the
       compile line (in the makefile)
       I am sure that there must be an option to do this in configure somewhere???

  3. This is what killed me,  I think it had built the compiler in that it was trying to use it to build the libraries. Anyway it fell
      over when it was trying to build libgcc1-test with the following error:-

      collect2: cannot find `ld'

      Now up to now it managed to link everything else, and ld is definately in the path, so what is going on?

     Can anyone help me??


Thanks

  Phil



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