This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
printf
- From: Emmanuel Viollet <Emmanuel dot Viollet at webdyn dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 10 May 2006 12:29:44 +0200
- Subject: [ECOS] printf
- Reply-to: Emmanuel dot Viollet at webdyn dot com
Hi (again... ;) )
I know I must be becoming a bit of a pain, but eCOS is really new to me,
and I'm sometimes quite lost...
I'm having trouble compiling the following program :
/* this is a simple hello world program */
#include <stdio.h>
int main(void)
{
printf("Hello, eCos world!\n");
return 0;
}
Compilation works fine. But the linker complains that printf() is missing.
How are the different parts of the C library defined? I suppose that
it's possible to implement a subset of the ANSI specifications, but I
can't find how this is done in the configuration tool.
Any links?
In advance, thanks.
--
Emmanuel Viollet
Software engineer
Webdyn
e-mail : Emmanuel.Viollet@webdyn.com
Tel : +33 (0)1 39 04 29 55
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss