embedded MIPS multilib selection or isa level setting error

Ian Lance Taylor ian@zembu.com
Mon Apr 17 10:15:00 GMT 2000


   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


More information about the Binutils mailing list