Step 2 : Compile Ecos
In this program, you are going to learn
How to ?
Topics in this section,
Make sure current dir is $HOME
$ cd $HOME
Download the source code using the following command.
$ git clone https://github.com/GrantEdwards/eCos-on-qemu.git
Set the GNU tools in the environmental variable PATH.
$ PATH=$PATH:$HOME/ecos:$HOME/ecos/gnutools/i386-elf/bin
export the ECOS REPOSITORY path.
$ export ECOS_REPOSITORY=$HOME/ecos/ecos-3.0/packages
Go to the eCos-on-qemu directory and run the buildecos script.
$ cd $HOME/eCos-on-qemu
$ ./buildecos.sh
Run make command to build the applications for ecos.
$ make
Once the build is done, the final target image will be present in the same directory.
test:eCos-on-qemu$ ls -l
-rwxrwxr-x 1 test test 2157025 Feb 1 12:18 hello.elf
-rwxrwxr-x 1 test test 2162252 Feb 1 12:18 server.elf
What is /.bashrc file?
See Answer
??