This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
eCOS configuration
- From: "Mildred Frisco" <mildredf at asti dot dost dot gov dot ph>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 16 Oct 2002 14:06:28 +0800
- Subject: [ECOS] eCOS configuration
I have done a test configuration for the ecos kernel using:
# ecosconfig new assabet kernel
# make tree
# make tests
The compile generated no errors and produced the directories include, lib
and tests under install. I have also created the libsupc++.a file under the
install/lib directory
I tried to compile/link the hello.c application program but there was an
error:
/tmp/ccK0iSUx.o: in function main
hello.c:5: undefined reference to printf
I tried to look for the ccKiSUx.o but I can't find it.
Here is the hello.c program:
#include <stdio.h>
int main()
{
printf("hello");
return 0;
}
Please help. Thank you very much.
Mildred
[Mildred Frisco]
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss