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

Patch to fix mips-elf cross compiler requiring mips-tfile


Building a mips-elf cross compiler results in:

/local/src/sandbox/mips-elf/gcc/xgcc -B/local/src/sandbox/mips-elf/gcc/ -nostdin
c -B/local/src/sandbox/mips-elf/mips-elf/newlib/ -isystem /local/src/sandbox/mip
s-elf/mips-elf/newlib/targ-include -isystem /local/src/GNU/gcc-current/newlib/li
bc/include -B/local//mips-elf/bin/ -B/local//mips-elf/lib/ -isystem /local//mips
-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -isystem ./include  -G 0 -g1  -DIN_LIBGCC2 -D__G
CC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../../GNU/gcc-current/gcc -I../.
./../GNU/gcc-current/gcc/. -I../../../GNU/gcc-current/gcc/config -I../../../GNU/
gcc-current/gcc/../include -DL_m16addsf3 -xassembler-with-cpp -c ../../../GNU/gc
c-current/gcc/config/mips/mips16.S -o libgcc/./_m16addsf3.o
xgcc: installation problem, cannot exec `mips-tfile': No such file or directory
make[2]: *** [libgcc/./_m16addsf3.o] Error 1

mips-tfile is for stuffing information into MIPS ECOFF files.  It shouldn't
be necessary when ELF is being used.

ChangeLog:

Thu Jan  4 19:06:01 EST 2001  John Wehle  (john@feith.com)

	* mips/elf.h: (ASM_FINAL_SPEC): Undefine.

Enjoy!

-- John Wehle
------------------8<------------------------8<------------------------
*** gcc/config/mips/elf.h.ORIGINAL	Wed Dec 20 17:53:05 2000
--- gcc/config/mips/elf.h	Thu Jan  4 19:05:25 2001
***************
*** 1,6 ****
  /* Definitions of target machine for GNU compiler.  MIPS R3000 version with
     GOFAST floating point library.
!    Copyright (C) 1994, 1997, 1999, 2000 Free Software Foundation, Inc.
  
  This file is part of GNU CC.
  
--- 1,6 ----
  /* Definitions of target machine for GNU compiler.  MIPS R3000 version with
     GOFAST floating point library.
!    Copyright (C) 1994, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
  
  This file is part of GNU CC.
  
*************** Boston, MA 02111-1307, USA.  */
*** 31,36 ****
--- 31,39 ----
  /* Mostly like ECOFF.  */
  #include "gofast.h"
  #include "mips/ecoff.h"
+ 
+ /* We do not want to run mips-tfile!  */
+ #undef ASM_FINAL_SPEC
  
  /* We need to use .esize and .etype instead of .size and .type to
     avoid conflicting with ELF directives.  */
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------


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