LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 671|回复: 5

lfs的Chapter 5中的问题

[复制链接]
发表于 2004-5-18 19:38:38 | 显示全部楼层 |阅读模式
关于这个命令:make -C ld LDFLAGS="-all-static"  LIB_PATH=/tools/lib
书上市这样解释的-C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib: This option rebuilds everything in the ld subdirectory. Specifying the LIB_PATH makefile variable on the command line allows us to override the default value and have it point to our temporary tools location. The value of this variable specifies the linker's default library search path. You will see how this preparation is used later on in the chapter.

我想问LDFLAGS="-all-static 这个参数 是不是 静态链接 的意思?
发表于 2004-5-18 21:27:26 | 显示全部楼层
是的,

你最好结合中文版的LFS手册一起看~~
 楼主| 发表于 2004-5-18 22:10:46 | 显示全部楼层
谢谢先

我的问题实际上是
BOOT_LDFLAGS="-static
不也是静态连接吗
有什么区别吗
发表于 2004-5-18 22:48:18 | 显示全部楼层
可能每个程序所使用的变量不同吧!
 楼主| 发表于 2004-5-18 22:49:25 | 显示全部楼层
谢谢了 每天帮助我这个菜鸟
等我机子 好了就好了
发表于 2004-5-18 22:53:04 | 显示全部楼层
同菜同菜,呵呵

(我又在灌水了吗?)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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