LinuxSir.cn,穿越时空的Linuxsir!

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

谁有使用icc ( intel C# compiler)的经验,据说可以编译部分的lfs/blfs

[复制链接]
发表于 2003-5-27 15:53:37 | 显示全部楼层 |阅读模式
Intel® Compilers help make your software run at top speeds on all Intel® 32-bit processors and 64-bit Itanium® processors. Optimizations include support for Streaming SIMD Extensions 2 (SSE2) in the Intel® Pentium® 4 and Pentium-M processors and software pipelining in the Intel® Itanium® 2 processor. Inter-procedural optimization (IPO) and profile-guided optimization (PGO) can provide greater application performance. Intel Compilers support multi-threaded code development through auto-parallelism and OpenMP* support.

The following executables are included in the installation package:

    * The Intel® C++ compiler for IA-32 based applications: icc.
    * The Intel C++ compiler for Itanium-based applications: ecc.
    * The Intel Debugger for IA-32 and Itanium-based applications: idb.
    * The Intel Itanium Assembler to produce Itanium-based applications: ias.
    * The product documentation.

查了一下lfs的邮件列表,在2002年初有人讨论过说当时的icc编译不了什么软件包。后来在出了7.0之后又有人提出过用icc编译lfs,而且声称编译了一大半第6章还没有问题。又有人说这个东西编译不了kernel。

intel的这款编译器对xeon,Itanium,Pentium4,Pentium-M支持很好。看过一个做服务器的公司的测试,使用intel编译器之后,xeon服务器性能提高了1倍近。但是那片测试里面并没说是如何编译的。
 楼主| 发表于 2003-5-28 12:06:18 | 显示全部楼层
http://gentoo.oregonstate.edu/distfiles/l_cc_p_7.1.006.tar
7.1 for linux的还不太好找,这里是一个链接。正在下载ing。
发表于 2003-5-28 12:07:35 | 显示全部楼层
up
 楼主| 发表于 2003-5-28 13:30:42 | 显示全部楼层
gentoo下面可以emerge到icc的

这里还有一个对intel compiler的测试
http://www.coyotegulch.com/revie ... tel_gcc_bench2.html
发表于 2003-5-28 14:01:24 | 显示全部楼层
这个链接你都找出来了,强,我在它网站上翻了半天也没找到下载的。
g++编译东西的确很慢,BLFS里费时间的qt,kde,全是c++的。不知道如果两个编译器一起用,会不会有代码不兼容的情况?
 楼主| 发表于 2003-5-28 14:11:18 | 显示全部楼层
c++ 的binary和gcc是兼容的,可以link到一起都。
fortune的binary不能和g77 link
发表于 2003-5-28 15:05:17 | 显示全部楼层
gcc是产生.o文件的

问题在函数库glibc吧....

源代码支持intel吗

产生的Makefile好像都是用gcc的

谁试用过......????
 楼主| 发表于 2003-5-28 15:40:08 | 显示全部楼层
兼容性的问题我说的不准确,具体可以看看这个文档,http://www.intel.com/software/pr ... sCompatibility2.pdf

上面我给的链接还不够,我又到这个地方注册然后得到一个license文件,才可以使用这个编译器http://www.intel.com/software/products/compilers/clin/noncom.htm

但是还是工作不太正常
$ icc
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
发表于 2003-5-28 17:04:38 | 显示全部楼层
gcc有自己的东西啊

语法.....

不可能完全是ISO....
发表于 2004-11-6 11:24:17 | 显示全部楼层
关注.....
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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