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 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 address, otherwise please add a memorandum including them. Where to submit: A411(Secretary’s room at Network Systems Lab) Limit: Dec 9, 2011 If you have any questions, please contact to the following address.
No.1:tiny executable Please write a C code that outputs the following information to 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 and system 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 output and create an executable file that can run on powerpc-linux kernel version 2.6 using cross development tools such as powerpc-linux-* on x86 linux etc. Before submission, you must check the behaviour of your executable file using 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 including the above functions. Finally, please write a main function calling these functions, here the argument to the my_inf is determined by the first argument 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 output and create an executable file that can run on powerpc-linux kernel version 2.6 using 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 file using 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 tools Please construct a cross development environment for powerpc-linux that 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