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]

m68k & libstdc++


I have binutils and gcc checked out from CVS as of Nov 7.  it seems to
be building m68k once again (yay!) but libstdc++ seems to be having
troubles:

gmake[7]: Entering directory `/usr/projects/aaron/m68k-rtems/build-2/m68k-rtems/m68000/libstdc++-v3/src'

[SNIP]

/usr/projects/aaron/m68k-rtems/build-2/gcc/xgcc -B/usr/projects/aaron/m68k-rtems/build-2/gcc/ -nostdinc++ -L/usr/projects/aaron/m68k-rtems/build-2/m68k-rtems/m68000/libstd++-v3/src -L/usr/projects/aaron/m68k-rtems/build-2/m68k-rtems/m68000/libstd++-v3/src/.libs -nostdinc -B/usr/projects/aaron/m68k-rtems/build-2/m68k-rtems/m68000/newlib/ -isystem /usr/projects/aaron/m68k-rtems/build-2/m68k-rtems/m68000/newlib/targ-include -isystem /usr/projects/aaron/m68k-rtems/newlib/libc/include -B/usr/local/cross/m68k-rtems/bin/ -B/usr/local/cross/m68k-rtems/lib/ -isystem /usr/local/cross/m68k-rtems/include -L/usr/projects/aaron/m68k-rtems/build-2/ld -m68000 -nostdinc++ -I/usr/projects/aaron/m68k-rtems/build-2/m68k-rtems/m68000/libstdc++-v3/include/m68k-rtems -I/usr/projects/aaron/m68k-rtems/build-2/m68k-rtems/m68000/libstdc++-v3/include -I../../../../../libstdc++-v3/libsupc++ -I../../../../../libstdc++-v3/libmath -g -O2 -m68000 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../../../../../libstdc++-v3/src/complex_io.cc -o complex_io.o
/var/tmp//ccDcT7rP.s: Assembler messages:
/var/tmp//ccDcT7rP.s:1228: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d1,(%a0)' ignored
/var/tmp//ccDcT7rP.s:1273: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d1,(%a0)' ignored
/var/tmp//ccDcT7rP.s:1386: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
/var/tmp//ccDcT7rP.s:1467: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
/var/tmp//ccDcT7rP.s:1568: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
/var/tmp//ccDcT7rP.s:2210: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d1,(%a0)' ignored
/var/tmp//ccDcT7rP.s:2253: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d1,(%a0)' ignored
/var/tmp//ccDcT7rP.s:2354: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
/var/tmp//ccDcT7rP.s:2467: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
/var/tmp//ccDcT7rP.s:3107: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d1,(%a0)' ignored
/var/tmp//ccDcT7rP.s:3150: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d1,(%a0)' ignored
/var/tmp//ccDcT7rP.s:3251: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
/var/tmp//ccDcT7rP.s:3364: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
/var/tmp//ccDcT7rP.s:3537: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
/var/tmp//ccDcT7rP.s:3849: Error: invalid instruction for this architecture; needs 68020 or higher -- statement `cas.l %d0,%d2,(%a0)' ignored
gmake[7]: *** [complex_io.lo] Error 1
gmake[7]: Leaving directory `/usr/projects/aaron/m68k-rtems/build-2/m68k-rtems/m68000/libstdc++-v3/src'

it's like gcc is getting passed -m68000, so I don't understand why it's
doing this...

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron@frye.com
     "In a few thousand years people will be scratching their heads
       wondering how on earth the first computer was invented and
          bootstrapped without a prior computer to do it with."
                    --  Chris Malcolm, on comp.arch

------
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]