I know gcc is problably the best natural complier for C but Im looking for a IDE. I cant use Visual Studio 2008 (which Id like to) as it uses it own compiler. I was using wx-dev (I believe it is called like that) and it is pretty good. I was told about Eclipse but it just sucks because it is confusing (Java; Figures). The debugger also needs to be compatibile with gdb.
But I use Eclipse far more often as it has support for other languages that I use (for work and for play). So for me, it's a "one-stop" shop as far as an IDE is concerned. And it's not too bad to configure for C development. I use the MinGW toolchain in combination with gdb. The debugger has some minor issues that should hopefully be sorted out soon - but generally speaking the set up works well enough.
But I use Eclipse far more often as it has support for other languages that I use (for work and for play). So for me, it's a "one-stop" shop as far as an IDE is concerned. And it's not too bad to configure for C development. I use the MinGW toolchain in combination with gdb. The debugger has some minor issues that should hopefully be sorted out soon - but generally speaking the set up works well enough.
Eclipse simply sucks for C. Period. Configuring it is difficult.
I cant use Visual Studio 2008 (which Id like to) as it uses it own compiler.
Most IDEs, including Visual Studio, can be configured to use a different compiler. I am wondering why you think gcc is the best C compiler. It is certainly good, but not really much better than the other popular alternatives, in my opinion. I would say the best is Comeau because it conforms to the latest standards of both C and C++. The only problems with Comeau are it is not free, and it is only a front-end compiler, so it is not as easy as install and go.
If you will not consider anything but gcc, I think Code::Blocks is your best option. MinGW comes packaged with gcc as the default compiler, installation is a snap, and the IDE is pretty good.
Most IDEs, including Visual Studio, can be configured to use a different compiler.
Really? Then how can I set in VS 2008 to use gcc and gdb as the debugger (including the rest of the minigw compilation which is the port of gcc to windows)
I would say the best is Comeau because it conforms to the latest standards of both C and C++. The only problems with Comeau are it is not free, and it is only a front-end compiler, so it is not as easy as install and go.
(I have never heard of the Comeau complier)
1: It is not free
2: It is not the easiest to install so that automatically makes it lose points
Then how can I set in VS 2008 to use gcc and gdb as the debugger
I am not qualified to answer that since I have not done it. But I know it can be done, so you can probably find instructions with a web search.
Quote ...
Simply because it conforms to the regular standards of C and it is free.
Every C compiler I know of in regular use conforms to C89, and C89 is still the defacto standard for C. The only C compiler I know of that conforms completely to C99 is Comeau. Gcc does not yet conform to C99, and unless they have fixed it, many of the custom extensions conflict with equivalent C99 features and make conformance either very fragile or impossible. It is in a better state than VC, where Microsoft has said they have no plans for conforming to C99, but partial conformance is still a portability issue.
Quote ...
1: It is not free
2: It is not the easiest to install so that automatically makes it lose points
Picky picky. I still think Code::Blocks is your best bet, but I also think Visual C++ is the best IDE hands down.
Every C compiler I know of in regular use conforms to C89, and C89 is still the defacto standard for C. The only C compiler I know of that conforms completely to C99 is Comeau. Gcc does not yet conform to C99, and unless they have fixed it, many of the custom extensions conflict with equivalent C99 features and make conformance either very fragile or impossible. It is in a better state than VC, where Microsoft has said they have no plans for conforming to C99, but partial conformance is still a portability issue.
Exactly. I want the best complier that is compatible with C89. I have no intrest in C99.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.