This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: synthetic target: kapi.h not found
- From: Bart Veer <bartv at ecoscentric dot com>
- To: stephan at macs dot ece dot mcgill dot ca
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 13 Oct 2004 08:47:34 +0100 (BST)
- Subject: Re: [ECOS] synthetic target: kapi.h not found
- References: <200410130250.05956.stephan.bourduas@videotron.ca>
>>>>> "Stephan" == Stephan Bourduas <stephan.bourduas@videotron.ca> writes:
Stephan> I've decided to play a little with the synthetic target.
Stephan> I've been able to compile and run "hello.c" from the
Stephan> "examples" directory, but when I try to compile
Stephan> "twothreads.c", I get "cyg/kapi.h" not found. When I look
Stephan> in "../include/sys", kapi.h is indeed missing. Does
Stephan> anyone know how to compile and run the twothreads example
Stephan> on the synthetic target?
Not surprising since the header file should be <cyg/kernel/kapi.h>,
not <cyg/kapi.h> or <sys/kapi.h>. Both the user guide and the example
use the correct path so I am not sure where you got <cyg/kapi.h> from.
The synthetic target is limited in terms of I/O facilities, and timing
behaviour is more variable than on dedicated hardware, but from a
programming perspective you should not have to treat it any different
from a real embedded target.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss