newlib compile error in Fedora 18 64 bits

newlib compile error in Fedora 18 64 bits

2013/01/30 Programming 0

when you meet the following error, add “.code32” can fix it.

../../../../../../newlib-1.19.0/newlib/libc/machine/i386/memcmp.S: Assembler messages:
../../../../../../newlib-1.19.0/newlib/libc/machine/i386/memcmp.S:18: Error: invalid instruction suffix for `push’
../../../../../../newlib-1.19.0/newlib/libc/machine/i386/memcmp.S:21: Error: invalid instruction suffix for `push’
../../../../../../newlib-1.19.0/newlib/libc/machine/i386/memcmp.S:22: Error: invalid instruction suffix for `push’
../../../../../../newlib-1.19.0/newlib/libc/machine/i386/memcmp.S:23: Error: invalid instruction suffix for `push’
../../../../../../newlib-1.19.0/newlib/libc/machine/i386/memcmp.S:72: Error: invalid instruction suffix for `pop’
../../../../../../newlib-1.19.0/newlib/libc/machine/i386/memcmp.S:73: Error: invalid instruction suffix for `pop’
../../../../../../newlib-1.19.0/newlib/libc/machine/i386/memcmp.S:74: Error: invalid instruction suffix for `pop’

read count : 724

Leave a Reply

Your email address will not be published. Required fields are marked *