Community
cancel
Showing results for 
Search instead for 
Did you mean: 
shooting_breeze
Beginner
247 Views

Switching to ICC from Mac's XCode project.

Jump to solution
Hello,

I've installed an evaluation version in Developer > opt > intel.

I have command line C++ project in XCode that I would like to compile using ICC. I followed these steps:

- Highlight the target you want to change in the Groups & Files list under the Target group.
- Choose Get Info from the File menu or click the Info button in the toolbar.
- Click Rules in the Target Info window.
- Click the + button at the bottom, left-hand corner of the Target Info window.
- From the Process pull-down menu choose C source files.

But have a problem here:
- From the using pull-down menu, select Intel C++ Compiler 10.0.
because no Intel compiler is listed.

Please help.

Thanks.

Mac OS / Leopard 10.5/ XCode 3.1.2

0 Kudos
1 Solution
Quoc-An_L_Intel
Employee
247 Views

Are you using the latest 11.1 package? Something like 11.1.067. Did you fully exit Xcode before installation and then restart Xcode. Xcode sometimes does not load third party plugins. A system restart might help.

The 11.1.067 compiler plugin should be installed in /Developer/Library/Xcode/Plug-ins/ICC*.xcplugin

Check to see if it's there.

View solution in original post

11 Replies
Quoc-An_L_Intel
Employee
247 Views
Version 10.0 is not supported on OSX 10.5 / Xcode 3.1.x

First of all you have a very old version of the compiler. You should register your eval serial number to create a support account and get the latest update. You can register the serial number here: https://registrationcenter.intel.com

For support OS / Xcode / Compiler vesion, check this link:

http://software.intel.com/en-us/articles/performance-tools-for-software-developers-compatibility-of-...
shooting_breeze
Beginner
247 Views
Quoting - Qale (Intel)
account and get the latest update. You can register the serial number here: https://registrationcenter.intel.com

Here's what I get though: You do not have the necessary authority to complete the requested operation.


Quoc-An_L_Intel
Employee
247 Views
Quoting - shooting.breeze

Try getting the eval product here:
http://software.intel.com/en-us/articles/intel-software-evaluation-center/

Once you get the serial number, and register it, you will have access to the products here:
https://registrationcenter.intel.com
shooting_breeze
Beginner
247 Views
Quoting - Qale (Intel)

Try getting the eval product here:
http://software.intel.com/en-us/articles/intel-software-evaluation-center/

Once you get the serial number, and register it, you will have access to the products here:
https://registrationcenter.intel.com


That's exactly what I had done:
On Sun, Sep 27, 2009 at 8:53 PM, Intel Software Development Products - Registration Center <intel.registration.center@intel.com> wrote:
Thank you for choosing the Intel C++ Compiler Professional Edition for Mac OS* X. Please install now to start your 30-day evaluation period. 
and I have kept the serial number...

Quoc-An_L_Intel
Employee
247 Views

So you can't register the eval serial number that was email to you at https://registrationcenter.intel.com?

Where did you download the compiler from?
shooting_breeze
Beginner
247 Views
Quoting - Qale (Intel)

So you can't register the eval serial number that was email to you at https://registrationcenter.intel.com?

Where did you download the compiler from?
From an intel page, similar to the one you showed. But I will download the file sent in the email from Intel, release 11.1 and see what happens.
shooting_breeze
Beginner
247 Views
I have followed your instructions and installed 11.1 which is compatible with XCode 3.1. Where do I go from here? I still have the same problem:

I have command line C++ project in XCode that I would like to compile using ICC. I followed these steps:

- Highlight the target you want to change in the Groups & Files list under the Target group.
- Choose Get Info from the File menu or click the Info button in the toolbar.
- Click Rules in the Target Info window.
- Click the + button at the bottom, left-hand corner of the Target Info window.
- From the Process pull-down menu choose C source files.

But have a problem here:
- From the using pull-down menu, select Intel C++ Compiler 10.0.
because no Intel compiler is listed.

Quoc-An_L_Intel
Employee
248 Views

Are you using the latest 11.1 package? Something like 11.1.067. Did you fully exit Xcode before installation and then restart Xcode. Xcode sometimes does not load third party plugins. A system restart might help.

The 11.1.067 compiler plugin should be installed in /Developer/Library/Xcode/Plug-ins/ICC*.xcplugin

Check to see if it's there.

View solution in original post

shooting_breeze
Beginner
247 Views
Quoting - Qale (Intel)

Are you using the latest 11.1 package? Something like 11.1.067. Did you fully exit Xcode before installation and then restart Xcode. Xcode sometimes does not load third party plugins. A system restart might help.

The 11.1.067 compiler plugin should be installed in /Developer/Library/Xcode/Plug-ins/ICC*.xcplugin

Check to see if it's there.
Yes, the plugin is there and a restart is enough.

However, I thought I could switch compilers from projet > build settings > compiler version. I take it this is only for the default gcc?

Anyways, thanks!
Quoc-An_L_Intel
Employee
247 Views
Quoting - shooting.breeze
Yes, the plugin is there and a restart is enough.

However, I thought I could switch compilers from projet > build settings > compiler version. I take it this is only for the default gcc?

Anyways, thanks!


Setting the compiler there will not work if you mix objective-c and C++ code, or target target ppc. Intel compiler defer to gcc to compile objective-c and target ppc. If you set the build setting->compiler version to intel compiler, it will exclusively use the intel compiler. Thisresult in compilation failure if you have objective-C source or if you are targeting ppc since Intel compiler does not support ppc targets or objective-c/c++.
myfeng
Beginner
247 Views
I have exactly the same issue and I followed your instructions, but the problem is still there.
I confirmed ICC11.1 Compiler.xcplugin is in that location you pointed out.
I have reinstalled compiler a couple times and restarted machine several times. No luck.
My Xcode version: 3.1.4
compiler version: 11.1.089
Please help and thanks.
Reply