QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 744|回复: 2

2.6.x内核模块很大,大家知道怎么会事么?

[复制链接]
发表于 2004-6-28 12:41:00 | 显示全部楼层 |阅读模式
[root@Liuhg vfat]# ll
总用量 76
-rw-r--r--  1 root root 70561  6月  5 14:12 vfat.ko
[root@Liuhg vfat]#

比如vfat.ko,模块我已经用gzip -9压缩过了,现在还有70561大小。
然后再看看RedHat提供的内核:
[root@Liuhg vfat]# ll
总用量 16
-rwxr--r--  1 root root 12496  6月 14 22:04 vfat.ko
[root@Liuhg vfat]#
才12496这么大。

我们自己编译要如何才可以编译得这么小?
发表于 2004-6-28 13:10:19 | 显示全部楼层
看这里
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=72834


kernel hacking 里面的 compile the kernel with debug info
回复

使用道具 举报

 楼主| 发表于 2004-6-28 21:35:16 | 显示全部楼层
THX
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-6-4 05:42 , Processed in 0.077600 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表