This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling newlib-1.20 for ARM/CYGWIN


Hi,
I try to compile newlib-1.20 for an ARM architecture with CYGWIN. I
get these error:

/../../../newlib-1.20.0/libgloss/arm/.. -g -fshort-wchar -c
../../../../newlib-1.20.0/libgloss/arm/linux-syscalls0.s
../../../../newlib-1.20.0/libgloss/arm/linux-syscalls0.s: Assembler messages:
../../../../newlib-1.20.0/libgloss/arm/linux-syscalls0.s:23: Error:
bad instruction `global(_ ##name)'
../../../../newlib-1.20.0/libgloss/arm/linux-syscalls0.s:23: Error:
junk at end of line, first unrecognized character is `\'
../../../../newlib-1.20.0/libgloss/arm/linux-syscalls0.s:24: Error:
garbage following instruction -- `swi #SYS_##name'
../../../../newlib-1.20.0/libgloss/arm/linux-syscalls0.s:24: Error:
junk at end of line, first unrecognized character is `\'
../../../../newlib-1.20.0/libgloss/arm/linux-syscalls0.s:25: Error:
junk at end of line, first unrecognized character is `\'
../../../../newlib-1.20.0/libgloss/arm/linux-syscalls0.s:26: Error:
bad instruction `size(_ ##name)'
...

I can compile newlib-1.19 without errors.

Here's my configure:

../$NEWLIB_SRC/configure CFLAGS=-fshort-wchar CXXFLAGS=-fshort-wchar
AFLAGS=-fshort-wchar \
    --target=$target --prefix=$prefix \
    --enable-interwork --enable-multilib \
    --disable-newlib-supplied-syscalls \

Any help would be appreciated.


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