- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
Recently, I tried to setup our own SCC platform. But there is a problem when I use 'icc'. It complained 'export: 27: Illegal option -n'? Does anyone know how to tackle this problem then?
Here is a screenshot below:

I'm looking forward to any answer. Thanks for taking time to reply.
Best,
Yubei
Recently, I tried to setup our own SCC platform. But there is a problem when I use 'icc'. It complained 'export: 27: Illegal option -n'? Does anyone know how to tackle this problem then?
Here is a screenshot below:
I'm looking forward to any answer. Thanks for taking time to reply.
Best,
Yubei
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yubei,
Your screenshot is not uploaded properly. Its location points to your hard drive file:///C:/Users/XforceX/Desktop/1.png, which nobody else can see it. You need to upload it by clicking the "Add files" botton right above this edit box, and then insert it in this post by clicking the "Insert/edit image" button.
Thanks,
Feilong
Your screenshot is not uploaded properly. Its location points to your hard drive file:///C:/Users/XforceX/Desktop/1.png, which nobody else can see it. You need to upload it by clicking the "Add files" botton right above this edit box, and then insert it in this post by clicking the "Insert/edit image" button.
Thanks,
Feilong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Feilong,
Thanks for your instructions. I've updated the screenshot. It's nothing too special.
I also tried to pinpoint the problem and found something interesting in /opt/intel_cc_80/bin/icc, showed below:
export -n IA32ROOT; unset IA32ROOT;//I don't know why we use the option '-n' here, this lead to the complaint: 'export 27: Illegal option -n';
When I removed '-n' and tried again, another error happened:
'exec: 34: -a: not found'
I think it was caused by the sentences below:
Thanks for your instructions. I've updated the screenshot. It's nothing too special.
I also tried to pinpoint the problem and found something interesting in /opt/intel_cc_80/bin/icc, showed below:
export -n IA32ROOT; unset IA32ROOT;//I don't know why we use the option '-n' here, this lead to the complaint: 'export 27: Illegal option -n';
When I removed '-n' and tried again, another error happened:
'exec: 34: -a: not found'
I think it was caused by the sentences below:
if [ $# != 0 ]
then
exec -a "/opt/intel_cc_80//bin/icc" /opt/intel_cc_80//bin/iccbin "$@";
else
exec -a "/opt/intel_cc_80//bin/icc" /opt/intel_cc_80//bin/iccbin;
fi
So could you come up with some solutions then?
Best,
Yubei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can give a reason for wanting it, you could file a feature request for the command "icc" with no files specified to give a response more like gcc.
As it is, I can't see what problem you would like to solve.
I've sometimes wished that "icc -v" would give a response more like "gcc -v" including showing which tool versions are active. I can't assume this is related to your "problem."
As it is, I can't see what problem you would like to solve.
I've sometimes wished that "icc -v" would give a response more like "gcc -v" including showing which tool versions are active. I can't assume this is related to your "problem."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Feilong,
I think I somehow worked it out.
I just removed the option '-n', and I also removed' -a "/opt/intel_cc_80//bin/icc" '.
There are still some strange things. I found I can use [-a name] option for exec command, but it did not seem to work to use this option onmy presenthost with SCC which is running a Ubuntu 10.04.
Anyway, I can successfully use icc to compile my application now. Thanks you again.
Best,
Yubei
I think I somehow worked it out.
I just removed the option '-n', and I also removed' -a "/opt/intel_cc_80//bin/icc" '.
There are still some strange things. I found I can use [-a name] option for exec command, but it did not seem to work to use this option onmy presenthost with SCC which is running a Ubuntu 10.04.
Anyway, I can successfully use icc to compile my application now. Thanks you again.
Best,
Yubei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi TimP,
Yep, you are right. I tried this way but failed. I re-wrote and corrected the shell 'icc'. It seems to work well now. Anyway, thanks for your help.
Best,
Yubei
Yep, you are right. I tried this way but failed. I re-wrote and corrected the shell 'icc'. It seems to work well now. Anyway, thanks for your help.
Best,
Yubei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The current icc should have full support for installation on Ubuntu 10.04. Instructions are posted at the top of this forum which should help if you install icc 11.1. In either case, compiler paths etc. have changed a lot since icc 8.0, so you would need to change your scripts and environment variables accordingly. I wouldn't care to attempt installation of icc 8.0 on a new linux version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi TimP,
In fact, theiccfor SCC platform is the version 8.1.038. There is not newer version for SCC I think, or at least there is not a new version like icc 11.1 for SCC.
Best,
Yubei
In fact, theiccfor SCC platform is the version 8.1.038. There is not newer version for SCC I think, or at least there is not a new version like icc 11.1 for SCC.
Best,
Yubei

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page