libc库简单搭建

时间:2015-07-28 05:26:07
【文件属性】:
文件名称:libc库简单搭建
文件大小:69KB
文件格式:RAR
更新时间:2015-07-28 05:26:07
libc 0.11 kernel 环境:vmware、ubuntu 10.04 、gcc-3.2.2、ld-2.20.1。 说起这件事情,已经是我好久的想法了,自从0.11内核编译成功后,一直在寻找如何编译应用程序的问题,因为在0.11上用vi编写程序实在是无法忍受,于是乎想说能不能自己在本地编写编译好后放到0.11上执行呢。 其实通过查看a.out执行文件不难发现它的结构是如此的简单,do_execve的解析可以了然。 让*真正转起来需要了解一下编译、链接等问题! ... ...
【文件预览】:
app_develop
----include()
--------a.out.h(6KB)
--------stdlib.h(1KB)
--------regex.h(9KB)
--------string.h(8KB)
--------gnu-stabs.h(3KB)
--------signal.h(2KB)
--------assert.h(858B)
--------setjmp.h(363B)
--------getopt.h(196B)
--------unistd.h(6KB)
--------termcap.h(328B)
--------stdarg.h(780B)
--------blocksize.h(132B)
--------utime.h(225B)
--------fcntl.h(1KB)
--------varargs.h(539B)
--------linux()
--------ctype.h(1KB)
--------math.h(727B)
--------stddef.h(286B)
--------ar.h(292B)
--------pwd.h(3KB)
--------termios.h(5KB)
--------errno.h(1KB)
--------grp.h(3KB)
--------limits.h(2KB)
--------time.h(874B)
--------const.h(322B)
--------dirent.h(883B)
--------localeinfo.h(5KB)
--------float.h(664B)
--------strings.h(20B)
--------asm()
--------sys()
--------ansidecl.h(3KB)
--------termio.h(21B)
--------stdio.h(7KB)
----chardev_test()
--------chardev(14KB)
--------chardev.c(565B)
--------chardev.o(812B)
--------chardev.bin(7KB)
--------chardev.ld(8KB)
--------chardev.map(256B)
----README.txt(266B)
----Makefile(1KB)
----hello_test()
--------hello.map(256B)
--------hello.c(162B)
--------hello.ld(8KB)
--------hello.o(812B)
--------hello.bin(7KB)
--------hello(14KB)
--------Makefile(316B)
----lib()
--------libc.a(8KB)
--------print.c(290B)
--------errno.c(32B)
--------crt0.s(221B)
--------print.o(2KB)
--------vsprintf.c(5KB)
--------crt0.o(616B)
--------vsprintf.o(3KB)
--------errno.o(571B)
--------Makefile(1002B)
--------syscall()
----execbin(7KB)

网友评论

  • 谢谢亲分享