[Bug 2111] AVR needs avr-libc to compile RTEMS.
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Sat Apr 6 16:14:00 UTC 2013
https://www.rtems.org/bugzilla/show_bug.cgi?id=2111
--- Comment #10 from cynt6007 at vandals.uidaho.edu 2013-04-06 11:14:00 CDT ---
Found some interesting 'features' of the RTEMS build system.
the (unpatched) RTEMS build system only allows *-*-*rtems* targets.
(patching away the *-*-*rtems*) targets issue, revealed another issue:
cpukit/configure.ac appears to run a POSIX compliance check each time RTEMS is
configured, whether posix is enabled (or not).
So, for a long-term avr-libc port, we need to pull out the POSIX compliance
check into a cpukit/aclocal/enable-posix-compliance-check.m4
and add a
--enable-posix-compliance-check option to make POSIX compliance checking
optional.
Apparently cpukit/score requires a struct timeval definition, but I'm not clear
as to whether we need score to do the classic rtems library (or not). If we do
need score, where should the timeval struct be declared (within rtems, or in
avr-libc?) Do we need score to do the ticker demo?
I was really amazed that I could compile as much as I did without newlib
support!
So in summary, three issues: target restrictions, posix compliance checking
when posix is disabled, and score/timeval.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list