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: Run application question


Francesco Regazzoni <fregazzo@erasmus.cdc.polimi.it> writes:

> Dear anyone,
> 
> I compiled hello.c (ECOS is the directory of kernel for an i386 target):
> 
> - SRCS=file.c DST=file build_Makefile ECOS
> - make
> 
> Then I have an executable file hello.
> 
> Is it possible make a bootable disk and run it directly?

If you made it as a floppy target, and in Linux, you have done
something like this:

objcopy -O binary hello hello.bin

then you can copy hello.bin to the floppy, doing something like cp
hello.bin /dev/fd0 (or use dd if you like obscure commands).

Ciao,
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

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


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