This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Makefile !


On Sat, Oct 02, 2004 at 09:12:29AM +0700, Tuong Nguyen Manh wrote:
> Dear all,
>  
> Now, I research a project that uses eCos OS .
> Can anybody help me, if I have a C file *.c, how can I build a *.srec to
> load it into the board?
>  
> I have read "Embedded software development with eCos", "GNU make
> Manual", "eCos 2.0 Documentation", I see to build application I must
> have that *.c file and a makefile correspondingly, and then in bash
> shell run make to generate that *.o, *.map, *.exe, the final is change
> *.exe to *.srec. The trouble is I don't know how to make that makefile,
> I must build a makefile.in then run automake to generate this makefile,
> isn't it?? But I don't know the command, instruction to program that
> makefile.in. So can anybody help me the link to the relevant documents?

Take a look at the examples

cvs -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos login
cvs -z3 -d :pserver:anoncvs@ecos.sourceware.org:/cvs/ecos co -P ecos/examples

You don't need anything as complex as using automake unless you really
want to. Its better to start simple.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]