C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 06-18-2008, 02:30 AM   #1
Registered User
 
Join Date: Jun 2008
Posts: 9
Choosing the right C++ compiler

Hi All,

What is the best tool to write kernel drivers and low level network programming?

Dev-Cpp++, Borland C++, VC++ 8.0?

Regards,
Thomas
thomas_joyee is offline   Reply With Quote
Old 06-18-2008, 02:43 AM   #2
Mysterious C++ User
 
Elysia's Avatar
 
Join Date: Oct 2007
Posts: 14,783
It doesn't really matter. A compiler is a compiler and will work the same, regardless of which compiler you choose.
It's up to your preference, really.
__________________
Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System
I dedicated my life to helping others. This is only a small sample of what they said:
"Thanks Elysia. You're a programming master! How the hell do you know every thing?"
Quoted... at least once.
Quote:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 06-18-2008, 05:59 AM   #3
Afraid of widths
 
medievalelks's Avatar
 
Join Date: Apr 2008
Location: Chicago
Posts: 887
Quote:
Originally Posted by Elysia View Post
It doesn't really matter. A compiler is a compiler and will work the same, regardless of which compiler you choose.
It's up to your preference, really.
You mean he can use Visual C++ to write UNIX kernel drivers?
medievalelks is offline   Reply With Quote
Old 06-18-2008, 06:00 AM   #4
Mysterious C++ User
 
Elysia's Avatar
 
Join Date: Oct 2007
Posts: 14,783
Obviously not, but that's obvious.
If you are going to write for platform X, then use a compiler than runs on platform X and not platform Y.
__________________
Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System
I dedicated my life to helping others. This is only a small sample of what they said:
"Thanks Elysia. You're a programming master! How the hell do you know every thing?"
Quoted... at least once.
Quote:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 06-18-2008, 06:02 AM   #5
Technical Lead
 
QuantumPete's Avatar
 
Join Date: Aug 2007
Location: London, UK
Posts: 723
Quote:
Originally Posted by Elysia View Post
Obviously not, but that's obvious.
I think you're crediting newbies with too much insight...

QuantumPete
__________________
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd
QuantumPete is offline   Reply With Quote
Old 06-18-2008, 06:29 AM   #6
Kernel hacker
 
Join Date: Jul 2007
Location: Farncombe, Surrey, England
Posts: 15,686
Quote:
Originally Posted by thomas_joyee View Post
Hi All,

What is the best tool to write kernel drivers and low level network programming?

Dev-Cpp++, Borland C++, VC++ 8.0?

Regards,
Thomas
For Windows, you would use the compiler that comes with the DDK (Device Driver Kit) for driver programming. That way, you are using a compiler that has been verified to compile driver code correctly - and yes, there are differences between the compiler in the DDK and the compiler supplied with the Visual Studio IDE. You can still use the VS IDE to modify the code, and there are tools to allow you to compile the driver within the IDE as well. But you definitely should compile using the DDK's compiler. It is perhaps possible to use gcc or Borland to produce a working driver, but there's absolutely no guarantee that it works, and there's no support in the DDK for this.

For application level programming ("low level network programming", I take to mean non-kernel code, but working with network protocols in user mode), I would probably choose Visual Studio, but that's a more open choice.

As pointed out, if you are working with a different OS than Windows, then you need a different compiler.

--
Mats
__________________
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
matsp is offline   Reply With Quote
Reply

Tags
c++, compiler

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C Compiler and stuff pal1ndr0me C Programming 10 07-21-2006 11:07 AM
I can't get this new compiler to work. Loduwijk C++ Programming 7 03-29-2006 06:42 AM
how to call a compiler? castlelight C Programming 3 11-22-2005 11:28 AM
Help With finding a compiler macman General Discussions 4 04-15-2005 08:15 AM
choosing a compiler almost_here Game Programming 4 11-29-2001 07:20 AM


All times are GMT -6. The time now is 05:33 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22