[ECOS] Run application question

David N. Welton davidw@dedasys.com
Tue May 14 02:01:00 GMT 2002


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



More information about the Ecos-discuss mailing list