This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
AW: printf
- From: "Ram Sudhir Tadavarthi" <ram dot tadavarthi at netco dot de>
- To: <Emmanuel dot Viollet at webdyn dot com>
- Cc: <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 10 May 2006 12:41:01 +0200
- Subject: AW: [ECOS] printf
Hi,
Send the make files/ compiling /linker options you are using to understand
whats the problem.
I hope you have linked with "-LINSTALL_DIR/lib -Ttarget.ld -nostdlib" where
INSTALL_DIR is the path for your install directory.
If you still have problems post it here.
Regards,
ram
-----Ursprüngliche Nachricht-----
Von: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] Im Auftrag von Emmanuel
Viollet
Gesendet: Mittwoch, 10. Mai 2006 12:30
An: ecos-discuss@ecos.sourceware.org
Betreff: [ECOS] printf
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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss