This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Fwd: Compiling newlib-1.20 for ARM/CYGWIN
- From: MeKa <meka dot gmci at googlemail dot com>
- To: newlib at sourceware dot org
- Date: Wed, 29 Feb 2012 07:33:22 +0100
- Subject: Fwd: Compiling newlib-1.20 for ARM/CYGWIN
- Authentication-results: mr.google.com; spf=pass (google.com: domain of meka.gmci@googlemail.com designates 10.180.104.137 as permitted sender) smtp.mail=meka.gmci@googlemail.com; dkim=pass header.i=meka.gmci@googlemail.com
- References: <CALaUrQ0+Aizag7_dzx=sxK4GMBNGZHErwQMrQZBgXbw4Ze2Ksg@mail.gmail.com>
---------- Forwarded message ----------
From: Metin Karatas <meka.gmci@googlemail.com>
Date: 2012/2/24
Subject: Compiling newlib-1.20 for ARM/CYGWIN
To: newlib@sourceware.org
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.