This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Is it possible to use the content of a file in binaryformat in C and assembly file? thanks
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Qiang Huang <jameshq at liverpool dot ac dot uk>
- Cc: Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 26 Feb 2003 15:03:54 +0000
- Subject: Re: [ECOS] Is it possible to use the content of a file in binaryformat in C and assembly file? thanks
- References: <BDEPKKELILOKGOAOMONOCEKPCBAA.jameshq@liv.ac.uk>
Qiang Huang wrote:
> Hi all:
> Is it possible to use the content of another file in pure binary format
> in C file?(ARM target)
>
> for example I have a data file as: data.dat
Something similar is done by fs/rom/current/support/file2c.tcl.
Jifl
--
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