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] |
ieeefp.h says "NIOS2 can be big or little endian" and has a
__nios2_big_endian__ to decide which, the same conditionals being
checked in config.h. But I didn't see anything that would make this a
configure option, nor a note pointing out that the decision needs to be
made (just the implication in the #if-else). That is, how does the user
choose which endianess they're going to build with?
The Altera GCC is supports both endians and you build it for one or the other. This is from their old gcc's config.gcc
+nios2-*-*_eb) + tm_file="elfos.h nios2/big.h ${tm_file}" + ;; +nios2-*-*) + tm_file="elfos.h ${tm_file}" + ;;
For the licensing questions, I am letting the person working on the NIOS II RTEMS port get Altera to answer that since they have already been in contact with them.
Craig
-----Original Message----- From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org] On Behalf Of Joel Sherrill Sent: Thursday, March 19, 2009 5:36 PM To: newlib@sources.redhat.com Subject: Altera NIOS II Support
Hi,
This is based on the Altera tools that are available from their ftp site. It updates their work from an old newlib to 1.17.0.
You will have to regenerate files. I didn't bother to include them.
This is enough to work with RTEMS if you use
their tool port.
2009-3-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.host, libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h, libc/include/sys/config.h, libc/machine/configure.in, libc/machine/nios2/configure.in, libc/machine/nios2/Makefile.am, libc/machine/nios2/setjmp.S, libc/sys/rtems/machine/stdint.h, libc/sys/rtems/sys/dirent.h: Merge Altera NIOS II support.
--joel
-- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |