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] |
Robert_Paradis@raytheon.com wrote: > > I am trying to install a cross compiler for a m68k-coff and have come up with > the following error messages when install the gcc. > > /bin/sh ./fixinc.sh `pwd`/include /proj/ICWS/gcc/crossgcc/m68k-coff/sys-include > Fixing headers into /projects/ICWS/gcc/build-gcc/gcc/include for > m68k-unknown-coff target > ./fixinc.sh: /proj/ICWS/gcc/crossgcc/m68k-coff/sys-include: does not exist > *** Error code 1 There is something badly broken, after building tens of cross-compilers from the gcc-2.95.x sources, I haven't seen the build ever trying to fix the standard C headers. The egcs-1.1.2 sources still tried to do this, but not gcc-2.95.x. But I haven't used the 'sys-include' in any of my builds this can be the reason that they haven't crashed... Did the '/proj/ICWS/gcc/crossgcc/m68k-coff/sys-include' exist ? I would assume it existing but 'cpp' or something not finding it because of the new relative paths and the error message being pure bullshit... Ok, the reason could perhaps be easily seen, the 'gcc/Makefile.in' says in the rows which take care of the 'fixincludes' : -------------------- clip ------------------------------------------ # If $(SYSTEM_HEADER_DIR) is $(tooldir)/sys-include, and # that directory exists, then make sure that $(libsubdir) exists. # This is because cpp is compiled to find $(tooldir)/include via # $(libsubdir)/$(unlibsubdir), which will only work if $(libsubdir) # exists. -------------------- clip ------------------------------------------ ie. claiming that if the 'sys-include' exists, the $(libsubdir) must also exist, otherwise there will be a crash or something... The $(libsubdir) is the '$prefix/lib/gcc-lib/$target/2.95.2'. In your case it is the directory '/proj/ICWS/gcc/crossgcc/lib/gcc-lib/m68k-coff/2.95.2', which should exist if the '/proj/ICWS/gcc/crossgcc/m68k-coff/sys-include' exists... > Any ideas as to what is going on? This was pure guessing, anyway the reason for the crash would be nice to see... Cheers, Kai ------ 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] |