English version of the subjects. How and where to submit the report Please submit your report using CD-R or DVD-R with a soft or hard case, which include

Embed Size (px)

Text of English version of the subjects. How and where to submit the report Please submit your report using...

II

English version of the subjectsHow and where to submit the reportPlease submit your report using CD-R or DVD-R with a soft or hard case, which include an archived file by tar with p option. (tar cvzfp report.tgz report) If you use a media having printable label, please write your name, student ID number, and e-mail address, otherwise please add a memorandumincluding them.

Where to submit: A411(Secretarys room at Network Systems Lab)Limit: Dec 9, 2011

If you have any questions, please contact to the following e-mail address.

miya@is.naist.jpNo.1:tiny executablePlease write a C code that outputs the following informationto standard error output and create an executable file.

* Your name* Your Lab* Your student ID number* Your mail address

Here, the excutable file must run on x86 linux kernel 2.6 andsystem calls must not be called via glibc.

You must submit the following files.

* A C code* An executable file*A text file including a procedure to create the executable file (Makefile is also acceptable)No.2:hello world (Linux cross)Please write a C code that outputs hello world to the standard outputand create an executable file that can run on powerpc-linux kernel version 2.6using cross development tools such as powerpc-linux-* on x86 linux etc.Before submission, you must check the behaviour of your executable fileusing QEMU.

You must submit the following file.

* An executable file

No.3:shared object (Linux cross)Please write a C code for the folloing functions.void hello(void) that outputs hello world when called.void my_inf(int) that outputs your name, your lab, and your student ID number if the argument is 0, 1, and 2, respectively.Then, please create a shared library whose name is libmy_lib.so includingthe above functions. Finally, please write a main function calling these functions, here the argument to the my_inf is determined by the firstargument of the main function and create a executable file. For building the executable and shared objects, you must use cross development tools such as powerpc-linux-*. Before submission, you must check the behaviour of your executable file using QEMU.

You must submit the following files.

* C code* Executable and shared files* A text file including a procedure to create the executable file (Makefile is also acceptable)No.4:tiny executable(Linux cross)Please write a C code that outputs hello world to the standard outputand create an executable file that can run on powerpc-linux kernel version 2.6using cross development tools such as powerpc-linux-* on x86 linux etc.Here, system calls must not be called via glibc as same as the No.1.Before submission, you must check the behaviour of your executable fileusing QEMU.

You must submit the following files.

* A C code* An executable file*A text file including a procedure to create the executable file (Makefile is also acceptable)No.5:cross development toolsPlease construct a cross development environment for powerpc-linuxthat works on x86 Linux or cygwin. Before submission, you must check the behaviour of the tools built by you using QEMU.

You must submit the following files.

* Src files used in construction* Directory used for construction* Cross development tools created by you

Recommended

View more >