物化视图常用维护操作
2012-09-03 11:30
281 查看
gcc和链接选项的使用
在gcc中使用ld链接选项时,需要在选项前面加上前缀-Wl(是字母l,不是1,我曾多次弄错),以区别不是编译器的选项。 if the linker is being invoked indirectly, via a compiler driver(e.g. gcc) then all the linker command line options should be prefixed by -Wl,(or whatever is appropriate for the particular compiler driver) like this:
1
gcc-Wl,--start-group foo.o bar.o -Wl,--end-group
gcc-c A.c -DXXX2 -Wall -DLinuxX86 -m32 -DDEBUG -g -DXXX -lSDL-Wl,--rpath-link,/usr/lib
Thisis important, because otherwise the compiler driver program may silently dropthe linker options, resulting in a bad link.
再要:http://my.oschina.net/shelllife/blog/115958
在gcc中使用ld链接选项时,需要在选项前面加上前缀-Wl(是字母l,不是1,我曾多次弄错),以区别不是编译器的选项。 if the linker is being invoked indirectly, via a compiler driver(e.g. gcc) then all the linker command line options should be prefixed by -Wl,(or whatever is appropriate for the particular compiler driver) like this:
1
gcc-Wl,--start-group foo.o bar.o -Wl,--end-group
gcc-c A.c -DXXX2 -Wall -DLinuxX86 -m32 -DDEBUG -g -DXXX -lSDL-Wl,--rpath-link,/usr/lib
Thisis important, because otherwise the compiler driver program may silently dropthe linker options, resulting in a bad link.
再要:http://my.oschina.net/shelllife/blog/115958
相关文章推荐
- Oracle11g新特性:在线操作功能增强-Oracle11g在线重定义功能对物化视图... (转载)
- [sqlite] 判断表、视图是否存在及常用C#操作语句
- MFC 框架、文档、视图操作常用函数用法简析
- Oracle data guard常用维护操作命令
- 【ORACLE】常用物化视图相关元数据查询语句
- Oracle11g RAC常用操作 (维护及管理)
- PostgreSQL 常用维护操作(二)
- Oracle data guard常用维护操作命令
- iphone-常用的对视图图层(layer)的操作
- EXCEL常用操作(常用操作自维护)
- Oracle 11gR2 RAC 常用维护操作说明
- oracle维护常用SQL语句(查看系统表和视图)
- 常用的对视图图层(layer)的操作
- Oracle 11gR2 RAC 常用维护操作 说明
- PostgreSQL 常用维护操作
- PostgreSQL 常用维护操作(二)
- oracle dg 维护常用操作和调优
- oracle维护常用SQL语句(查看系统表和视图)
- ORACLE 11G RAC常用操作(维护及管理)
- iphone-常用的对视图图层(layer)的操作