This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: embedded MIPS multilib selection or isa level setting error


   Date: Mon, 17 Apr 2000 12:14:04 -0500
   From: Joel Sherrill <joel.sherrill@OARcorp.com>

   > This is documented.  The -mcpu option affects only scheduling, not
   > code generation.

   So when targetting the 4650, do I need to specify both "-m4650"
   and "-mcpu=4650"?  Somehow this does not make sense to me.

-m4650 implies -mcpu=4650.  Check the gcc documentation.

   Besides it still is giving the same result.  I can compile
   main.c separately (-c) and the error changes to:

   /opt/rtems/mips64orion-rtems/bin/ld: main.o: 
     ISA mismatch (-mips3) with previous modules (-mips1)

   So that proves you correct.  So is the object in single/ incorrectly
   isa level 1?

Perhaps.  I don't know just what objects the linker is picking up.
Linking with -Wl,-t should show you that.

Ian

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