This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ecosconfig - disabling printf?
On Mon, Nov 11, 2002 at 07:28:53AM -0800, Scott Dattalo wrote:
> Harri,
>
> It's not that simple. To implement your suggestion requires that the eCos
> source be modified. The whole idea of the CDL is to configure eCos - not
> modify it. I'm fairly certain there's a way to disable printf (and
> friends) via CDL. Since posting the original query I've deleted every
> package that I could. However, I'm starting to suspect that there's a
> dependency buried in the bowels of the arm/at91 source code that is
> forcing (v)printf to be linked with my executable. If that's the case,
> then well, I'll modify the eCos source in the short term. Then when
> T[io]m's patches are committed to CVS I'll re-visit the issue.
>
> Scott
The linker map may help you out here. It should be possible to find
out which objects reference (v)printf.
Never actually tried this.....
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss