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


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

Re: as: unrecognized option `-c68020'


> The error I got was
> 
> _floatdixf
> /tmp/cca12355.s: Assembler messages:
> /tmp/cca12355.s:70: Error: operands mismatch -- statement `tstl a4'
> ignored
> make[3]: *** [libgcc2.a] Error 1
> make[3]: Leaving directory `/vndev/gnu/build/gcc'
> make[2]: *** [stmp-multilib-sub] Error 2
> make[2]: Leaving directory `/vndev/gnu/build/gcc'
> make[1]: *** [stmp-multilib] Error 1
> make[1]: Leaving directory `/vndev/gnu/build/gcc'
> make: *** [all-gcc] Error 2


I can field this one... :-)

   The error seems to be a bug in gcc (or binutils) which doesn't
allow it to make the libgcc2.a for a straight 68000.  If you just
need the CPU32 stuff, you can do:

make all "MULTILIB_OPTIONS = m68020 msoft-float" install

   Which forces it NOT to make a 68000 library.  The line above 
also turns off the 68881 support.  I don't know if you want that
or not.  If so, do:

make all "MULTILIB_OPTIONS = m68020 m68881/msoft-float" install

   If you need 68000, maybe Joel can tell you what needs to
be done and where.

    Cheers,
    Jake

-- 
   janovetz@uiuc.edu    | Once you have flown, you will walk the earth with
 University of Illinois | your eyes turned skyward, for there you have been,
                        | there you long to return.     -- da Vinci
        PP-ASEL         | http://www.cen.uiuc.edu/~janovetz/index.html