Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo & the Intel Compiler
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Sun Oct 05, 2003 12:29 pm    Post subject: Gentoo & the Intel Compiler Reply with quote

After reading the following thread: https://forums.gentoo.org/viewtopic.php?t=93405 I found out about the existence of an Intel compiler for Linux, and went browsing for it a bit.

From what I read I figure that ICC generates way faster code than GCC does. After trying 'emerge -s icc' I found out that ICC is even in portage.

Now my question: is it possible to make the portage system use ICC instead of GCC and are there many packages that won't compile/give problems when using ICC instead of GCC?

I'm running on an Intel x86 system so it would be cool if I could indeed benefit from a compiler written specially for my arch...
_________________
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Sun Oct 05, 2003 1:43 pm    Post subject: icc Reply with quote

as to your first question: there is a USE flag called "icc" specifically for that.
Back to top
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Sun Oct 05, 2003 4:17 pm    Post subject: Reply with quote

But a 'grep icc * -R' in /usr/portage shows that hardly any package uses it, none of them one of the greater/heavier packages.

Have all these packages actually been tested for compatibility with ICC or are just the ones that have been tested marked with 'icc'?

I suppose the latter, right?
_________________
Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Oct 05, 2003 6:00 pm    Post subject: Reply with quote

MadEgg wrote:
But a 'grep icc * -R' in /usr/portage shows that hardly any package uses it, none of them one of the greater/heavier packages.

Have all these packages actually been tested for compatibility with ICC or are just the ones that have been tested marked with 'icc'?

I suppose the latter, right?


The latter. ICC isn't command-line compatible with GCC so its not a drop-in replacement (yet).
Back to top
View user's profile Send private message
fumtu99
n00b
n00b


Joined: 05 Sep 2002
Posts: 59

PostPosted: Wed Oct 15, 2003 5:55 pm    Post subject: Reply with quote

After re-rsyncing yesterday, an "emerge -Up world" now reports there being a new version of the icc compiler, l_icc_p_7.1.030.tar, but the file doesn't exist on the Intel FTP site; is this a case of someone jumping the gun (perhaps because they've got a registered copy), or is this a problem with versioning of some sort?

James
Back to top
View user's profile Send private message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Wed Oct 15, 2003 7:44 pm    Post subject: Reply with quote

there are quite a few packages that build with icc but no icc flag

and as said it takes different options, so something like an ICCFLAGS line in make.conf would be really nice :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum