Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

program to convert gcc calls to icc

Beniamin_P_
Beginner
394 Views
It would be making development easier, when there would exist a program that changes the env variables of gcc and icc to its own and converts gcc calls of make with all parameters to a choice of icc options and calls.

does such a tool exist? Or must I write it on my own?

It would make the most of the distribution gentoo compile with icc and also enabling tools like kdevelope to work with it.....

thank you for answers
0 Kudos
3 Replies
aedakofs
Beginner
394 Views
I believe the answer is no, but would like to get more specifics. One could eliminate the need for executing iccvars.sh by including information in /opt/intel/compiler70/ia32/bin/icc.cfg.

Thanks in advance.

Andy D
0 Kudos
John_O_Intel
Employee
394 Views
Hi,

The 8.0 compiler defines the gcc preprocessor symbols such as __GNUC__ __GNUC_MINOR__ & __GNUC_PATCHLEVEL__ (these can be disabled if desired).

If you use the new g++ compatibility/interoperability switch in 8.0, -cxxlib-gcc will use the g++ C++ run time libraries, so it will make calls to the g++ libraries. This switch enables you to build part of the application with g++ and icc.

So 8.0 with -cxxlib-gcc should meet your needs, let us know if this is not the case.

best regards,
John
0 Kudos
shane-braendler
Beginner
394 Views
Several of the items in this forum are discussing intel c++ version 8. I'm assuming this is a beta version as it is not available to download from the intel C++ web site. If this is correct how does one go about getting access to this beta?

I'm interesting in trying a new version to determine if the compatibility issues between the intel and GNU C++ compilers have been resolved.

Shane Braendler
0 Kudos
Reply