This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: compiling code using posix functions.
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Chaitanya Vakkalanka <chaitu80 at yahoo dot com>
- Cc: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 10 Feb 2003 23:16:48 +0000
- Subject: Re: [ECOS] compiling code using posix functions.
- References: <BDEPKKELILOKGOAOMONOMEGLCBAA.jameshq@liv.ac.uk>
Qiang Huang wrote:
http://sources.redhat.com/ecos/docs-latest/ecos-elix/ecos-elix.1.html
http://sources.redhat.com/ecos/docs-latest/ref/ecos-ref.15.html
http://sources.redhat.com/ecos/docs-latest/guides/user-guides.13.html
Obviously this should be read. The key point I imagine is that you need to
add the posix compatibility package. The default package set doesn't
include it. You can do it by creating your configuration with the "posix"
template (or "all" or "elix"), or by expliciting adding the packages with
something like:
ecosconfig add posix fileio
or similarly add just those packages in the graphical config tool.
Jifl
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Chaitanya
Vakkalanka
Sent: 09 February 2003 22:47
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] compiling code using posix functions.
Hi,
I'm new to eCos. I have written a data acquisition
software in QNX that uses Posix message queues and
threads. Now, I've to port the code to eCos. Can
somebody help me how to build the libraries? I've used
the ecc file contained in the CD that comes with the
eCos book. I see the required header files mqueue.h
and pthread.h etc. But I'm not able to compile it
correctly.
If there's any online documentation to using posix
functions in eCos code please give me the link to it.
Any help is greatly appreciated.
Thanks,
Truly,
Chaitanya.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss