Leontie Eugen e_leontie at yahoo.com
Fri Nov 6 17:43:45 UTC 2009

Sorry for being vague. I am doing a RTEMS port to sparc64, so I have a new processor model, new bsp and the rtems is the latest CVS from a couple weeks back.  

I found this conversation online : http://old.nabble.com/-patch,rtems--Don't-build-__assert_func-for-RTEMS-td25554127.html

and it is exactly what I need. Can you explain how should I configure NEWLIB for that, or how would I activate HAVE___ASSERT_FUNC ?


--- On Fri, 11/6/09, Ralf Corsepius <ralf.corsepius at rtems.org> wrote:

> From: Ralf Corsepius <ralf.corsepius at rtems.org>
> Subject: Re: RTEMS_DEBUG
> To: "Leontie Eugen" <e_leontie at yahoo.com>
> Cc: "RTEMS" <rtems-users at rtems.org>
> Date: Friday, November 6, 2009, 4:29 AM
> On 11/05/2009 09:35 PM, Leontie Eugen
> wrote:
> > If I compile rtems with -DRTEMS_DEBUG as gcc
> parameter, I get some __assert compilation/link errors (
> both RTEMS and NEWLIB seems to have them defined ).
> No, RTEMS_DEBUG is an RTEMS-only thing. Newlib doesn't use
> it.
> > Do I need to recompile my toolchain in some mode to
> get rid of this error ?
> No. RTEMS_DEBUG is a only used inside of RTEMS.
> Unfortunately, your report doesn't contain sufficient
> details to be able to provide further help (Which RTEMS
> version, which target, which BSP, which configuration, where
> does the error occur, ...)
> Ralf


More information about the users mailing list