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]

Status of newlib toolchain targets, April 2016


With binutils-2.26, gcc-5.3.0, and newlib-2.4.0:

For C99-in-C++ support, two patches are required:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-newlib-funcs.patch
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-glibcxx-use-c99.patch

iq2000-elf (PR64400), m32c-elf (PR64375), and mep-elf (PR64402) still do not build; the latter has been made obsolete in GCC 6.

cr16-elf and lm32-elf gcc require a patch to include newlib-stdint.h:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-newlib-stdint.patch

frv-elf gcc requires r222519:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.2-frv-r222519.patch

m32r-elf gcc requires r226445:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.2-m32r-attributes.patch

sparc64-elf newlib sporadically fails to build:
https://sourceware.org/ml/newlib/2013/msg00740.html

tic6x-elf binutils requires the fix for PR gas/19614:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bd5608dcc6a76876db06b1af1852252a4282aa2f

v850-elf gcc requires a backport of r232451:
https://raw.githubusercontent.com/cygwinports-extras/cross-gcc/master/5.3-v850-PR65501.patch

With the above fixes, the following targets build successfully and with _GLIBCXX_ENABLE_C99 (so e.g. std::to_string and std::stod are now available with -std=c++11):

aarch64-elf aarch64_be-elf arm-eabi bfin-elf cr16-elf cris-elf epiphany-elf fido-elf fr30-elf frv-elf h8300-elf i386-elf ia64-elf lm32-elf m32r-elf m68k-elf mcore-elf microblaze-elf mips-elf mips64-elf mn10300-elf moxie-elf msp430-elf nds32be-elf nds32le-elf nios2-elf powerpc-elf powerpc-eabi powerpc-eabisim powerpcle-elf powerpcle-eabi powerpcle-eabisim rl78-elf rx-elf sh-elf sh64-elf sparc-elf sparc64-elf spu-elf tic6x-elf v850-elf x86_64-elf xstormy16-elf mmix

--
Yaakov Selkowitz
Associate Software Engineer, ARM
Red Hat, Inc.


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