Page 1 of 1
Using Intel C++ Compiler for visual studio 2005/2008
Posted: Mon Jul 28, 2008 11:48 am
by VRassouli
Hi
I'm an experienced programmer but new to OS development! one of the things that annoy me while coding my kernel, is, not having an IDE! its hard for me to code in pure text editors and compile it using console!
i wonder if it is possible to develop my OS under MS Visual Studio 2005 or 2008 with Intel C++ Compiler 10? if so, whats the command line parameters i should provide?
Re: Using Intel C++ Compiler for visual studio 2005/2008
Posted: Mon Jul 28, 2008 12:04 pm
by AJ
Hi,
Have a look at
Visual Studio on the wiki. There are also many other good general purpose IDE's out there - everyone will give you a different version of what they like most, but I go for
Eclipse. As for using the intel compiler - someone else will need to help you with that bit.
Cheers,
Adam
Re: Using Intel C++ Compiler for visual studio 2005/2008
Posted: Mon Jul 28, 2008 12:57 pm
by VRassouli
thank you Aj for your replay. but what i really mean, is not doing such configurations noted there!
for example, while compiling with gcc, we just code our kernel in its normal way with no extra coding in it. what i saw in the wiki, is some command line options which say the gcc to out put what we need ( -Wall -Wextra -nostdlib -nostartfiles -nodefaultlibs ) i think there must be such command lines for Intel C++ Compiler also (and if so) i'm looking for these options.
thank you again
Re: Using Intel C++ Compiler for visual studio 2005/2008
Posted: Mon Jul 28, 2008 1:18 pm
by Zenith
This may be what you're looking for -
Intel C++ Compiler 10.0 Documentation (note that the contents sidebar only seems to work in IE)
Re: Using Intel C++ Compiler for visual studio 2005/2008
Posted: Mon Jul 28, 2008 1:24 pm
by kataklinger
If I remember correctly there is MSVC++ sample project on Wiki that explains almost everything that you need to know in order to compile kernel with MSVC++. You can use that project file and convert it to Intel C++ project file format from Visual Studio.
Additionally you should turn off some optimizations when compile with Intel C++ compiler such as loop vectorization [because it uses MMX registers for instance and that is probably something that you don't want]. And think you need to define these two functions:
Code: Select all
extern "C" void __cdecl __intel_proc_init() { }
extern "C" void __cdecl __intel_new_proc_init() { }
Re: Using Intel C++ Compiler for visual studio 2005/2008
Posted: Fri Aug 01, 2008 5:47 am
by AndrewAPrice
Using the Intel compiler would be something I'm interested in too since it's extremely optimised, so I've heard. The side bar on the on the doc link provided works in in Firefox 3.
Re: Using Intel C++ Compiler for visual studio 2005/2008
Posted: Sun Sep 07, 2008 10:37 pm
by VRassouli
Thank you all for your replies, they were really useful.
but here is a link to a page which describes using MSVC++ 2005 and 2008 for os development which i found:
http://www.brokenthorn.com/Resources/OSDevMSVC.html