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

See the CrossGCC FAQ for lots more infromation.


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

gcc2.95/HC11 & Newlib



I've got binutils-hc11, gdb-hc11, and gcc-2.95-hc11 compiled, but
cannot get newlib compiled for the life of me (All of these are
based off the patches by Stephane Carrez which were intended to
be applied to earlier EGCS snapshots).

Here's the error I get whether I compile newlib separately or
whether I do the gcc/newlib symlink trick:

----------------------------------------------------------------

m68hc11-elf-gcc -g -O2  -DPREFER_SIZE_OVER_SPEED -Os -msoft-reg-count=4 -DNO_EXEC -DABORT_PROVIDED -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES -fno-builtin -I/home/src/hc11/newlib-1.8.1-m68hc11/m68hc11-elf/newlib/./targ-include -I/home/src/hc11/newlib-1.8.1-m68hc11/m68hc11-elf/newlib/./libc/include -c e_jn.c
e_jn.c: In function `__ieee754_jn':
e_jn.c:217: Could not split insn
(insn 1787 4551 4554 (set (reg:SI 0 x)
        (plus:SI (reg:SI 0 x)
            (mem:SI (plus:HI (plus:HI (reg:HI 9 *frame)
                        (const_int 1280 [0x500]))
                    (const_int 27 [0x1b])) 0))) 51 {*addsi3} (insn_list 1786 (nil))
    (nil))
make[3]: *** [e_jn.o] Error 1
make[3]: Leaving directory `/home/src/hc11/newlib-1.8.1-m68hc11/m68hc11-elf/newlib/libm/math'
make[2]: *** [math/lib.a] Error 1
make[2]: Leaving directory `/home/src/hc11/newlib-1.8.1-m68hc11/m68hc11-elf/newlib/libm'
make[1]: *** [libm/libm.a] Error 2
make[1]: Leaving directory `/home/src/hc11/newlib-1.8.1-m68hc11/m68hc11-elf/newlib'
make: *** [all-target-newlib] Error 2

----------------------------------------------------------------

Is this an easy one, or something that I'll have to dig into the
HC11 code to solve?  I have absolutely no experience with floating
point routines.

Any help appreciated.

Curt Mills, WE7U                         hacker.NO_*SPAM@tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U


_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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