473,554 Members | 2,100 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A good compiler

Can anyone suggest me a good compiler for(c/cpp) for windows?
I tried dev cpp but its debugging facility is very poor.

Jul 22 '07
244 9366
user923005 <dc*****@connx. comwrites:
On Jul 24, 9:46 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
>Frodo Baggins said:

<snip>
Please don't flame me, but what's wrong with emacs/gcc/gdb as a
development environment?

To put it bluntly: emacs.

Just s/emacs/vim/ and you're rolling.

I like GCC with Eclipse and the CDT. I also prefer DDD to GDB.
GCC 4.x has profile guided optimization and other advanced features.
ddd is just a front end to gdb.

ddd sucks. Its one of the ugliest guis ever made IMO.
Jul 25 '07 #41
Richard Heathfield <rj*@see.sig.in validwrites:
Frodo Baggins said:

<snip>
>Please don't flame me, but what's wrong with emacs/gcc/gdb as a
development environment?

To put it bluntly: emacs.

Just s/emacs/vim/ and you're rolling.
Hahahaha. Good one.

--
Jul 25 '07 #42
Mark McIntyre <ma**********@s pamcop.netwrite s:
On Tue, 24 Jul 2007 17:38:51 +0200, in comp.lang.c , jacob navia
<ja***@jacob.re mcomp.frwrote:
>>Frodo Baggins wrote:
>>>
Please don't flame me, but what's wrong with emacs/gcc/gdb as a
development environment? Sure, a bit of work with glue/polish may be
needed.

Regards,
Frodo B

"A bit of work with glue/polish" yeah...

o gcc is one of the slowest compilers I have ever used.
It keeps getting slower at each new version.

You have a different experience to me. We use gcc for a fairly
enormous set of systems at work which we compile for Windows, Solaris
and RHEL, and gcc not noticeably slower than MSVC on Linux (on Solaris
its a dog but thats a /solaris/ problem, not a gcc one...).
> o gdb is a pile of shit.

Hardly. gdb simply isn't a visual gui debugger. If you want that,
there are tools for linux.
Nearly all of which are rubbish. Eclipse might change that. DDD is a joke.
Jul 25 '07 #43
Richard wrote:
user923005 <dc*****@connx. comwrites:
>On Jul 24, 9:46 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
>>Frodo Baggins said:

<snip>

Please don't flame me, but what's wrong with emacs/gcc/gdb as a
development environment?

To put it bluntly: emacs.

Just s/emacs/vim/ and you're rolling.

I like GCC with Eclipse and the CDT. I also prefer DDD to GDB.
GCC 4.x has profile guided optimization and other advanced features.

ddd is just a front end to gdb.

ddd sucks. Its one of the ugliest guis ever made IMO.
I'd assume that one would look for functionality and ease of use of the UI,
in a debugger if nowhere else, not it's eye-candy effect. Where do you find
DDD lacking, as far as ease of use is concerned?

Jul 25 '07 #44
Chris Hills <ch***@phaedsys .orgwrites:
In article <lc************ *********@bt.co m>, Richard Heathfield
<rj*@see.sig.in validwrites
>>If they have a commercial interest in it,

No.... An interest (or bias) whether commercial or not.
That is not practical. We cannot declare all our biases. Most will
be unconscious biases anyway. Careful reading of the arguments made
in a posting (and in the poster's history) are usually a better
indication than requiring public declarations.
>they ought to declare that
when recommending it. If they're merely interested in it, that isn't
the same thing. But if they stand to gain money from its promotion,
then it is reasonable to deduce that their advice may not be impartial,
so yes, you're right, they should declare an interest.

The FOSS Devotees have an irrational, religious support for FOSS and
this should ALWAYS be declared weather or not money changes hands.
I would have thought that it would be obvious from the postings when
an irrational, religious, support is being expressed -- just as it will
be obvious when rational and well-argued support is presented.
The same as EVERYONE who touts GCC and Linux who has an interest in
it.
Of course, and that is obvious from the touting is it not? What more
could you want?

If I say "X is a great supplier of Y" I am obviously biased (I am
offering not evidence or argument) but I think it makes a difference
to the way one reads this bias if I then say "BTW, I get 10% of every
new sale of X makes". If am obliged, as you would have me be, to add
"BTW, I am an irrational devotee of the way X does things" I don't
think readers get any more than they had already.

--
Ben.
Jul 25 '07 #45
Chris Hills said:
In article <lc************ *********@bt.co m>, Richard Heathfield
<rj*@see.sig.in validwrites
>>Chris Hills said:
<snip>
>>>
There are many FOSS Detotees on here who push FOSS without declaring
an
interest.

If they have a commercial interest in it,

No.... An interest (or bias) whether commercial or not.
Fine by me. I now state, for the record, that I currently have no
commercial interest in any C compiler, nor have I ever had such an
interest. Neither do I have a "religious" interest in any compiler. I
have used, and enjoyed using, gcc, Visual C, Borland C (and Turbo C),
LE370, C/370, Digital Mars, and one or two others that I don't recall.
I don't *care* what compiler I use, most of the time. It's of no
interest whatsoever to me. Yes, I like the idea of FOSS (if that means
what I think it means), but I also recognise that people have the right
to charge for their software if they wish, and I have no problem with
that. I am not "religiousl y" devoted to FOSS. I have written software
to sell, and I've written software to give away, and I don't have any
particular axe to grind in either direction.

<snip>
The FOSS Devotees have an irrational, religious support for FOSS and
this should ALWAYS be declared weather or not money changes hands.
Fine - by all means point this out if you think it relevant in the
various threads where the issue may arise.

<snip>
>>gcc is OT too. Occasionally, I answer questions about gcc (not often,
of course because it's OT) but then occasionally I answer questions
about Visual C (again, not often, because it's OT). The fact that we
occasionall y see OT answers about gcc in here does not make gcc
topical.

I have noticed that whilst the vast majority of the time questions on
any compiler other than Gcc gets slamed for being OT it is not the
same for GCC. There are several Gcc threads running on clc now
You have every right to point out that such threads are off-topic. Do
you? If not, you are part of the precipitate. If you care to do a
minimal amount of research, you will note that I have pointed out the
non-topicality of gcc threads on a number of occasions.

<snip>
As usual FOSS Devotees are biased and manipulate the truth for a
distorted view of reality.
Since I'm not a "FOSS Devotee", I will leave it to those who are to
defend themselves against that charge, should they wish so to do.
It is possible to get lcc-win32 and gcc for free or pay for both.
YUet
you only attack lcc-win32. Typical of FOSS Devotees
Check your facts. Yes, I have praised Linux and dissed Windows on
occasion, but on the other hand I have also pointed out that
Microsoft's C compiler is actually very good, and that Windows
programming is very enjoyable. FOSS Devotee? Sure about that?

<snip>
>>[...] So I decided that companies that use my work
in a commercial environment should pay for the product they get. What
is wrong with this?" (This particular quote is taken from 17 Apr
2003.)

Nothing, of course, is wrong with that, but it certainly demonstrates
that he does sell lcc-win32,

Under some conditions just as Linux and Gcc is availible on commercial
packages. However you can obtain lcc-win32 for free and there is no
need for the vast majority of users to pay anything, just like FOSS
users
If those who stand to make money from gcc touted it here, they'd be
acting in just as bad a way as Mr Navia. As far as I'm aware, however,
they don't. Do you have evidence to the contrary?

<snip>

--
Richard Heathfield <http://www.cpax.org.uk >
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jul 25 '07 #46
Chris Hills said:

<snip>
Incidentally I have no idea how good or bad lcc-win32 is. That is not
what is being argued here. It is just being smeared by FOSS people
No, it isn't. The criticism is not against lcc-win32 but against its
promotion in a technical newsgroup by the one person who has most to
gain from its widespread use. And it isn't just "FOSS people" who are
making this criticism. I am not a "FOSS people", for instance. I am a
programmer who *sometimes* sells software and *sometimes* gives it
away.

Please check your facts before tarring all of Mr Navia's many critics
with the same brush.

--
Richard Heathfield <http://www.cpax.org.uk >
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jul 25 '07 #47
Chris Hills said:
In article <lc************ *********@bt.co m>, Richard Heathfield
<rj*@see.sig.in validwrites
>>Chris Hills said:

<snip>
>>Just like GCC is a C-like compiler. NOT a C compiler

How so? I put C in, and object code comes out. It walks like a C
compiler, swims like a C compiler, and quacks like a C compiler.

So it is fully C99 compliant?
No, you know it isn't, but it does conform to C99 *to the extent that I
need it to* - in other words, it conforms to C90. Since I write in the
common subset of C90 and C99, it is as conforming as I could possibly
wish for.

--
Richard Heathfield <http://www.cpax.org.uk >
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jul 25 '07 #48
Richard wrote:
Mark McIntyre <ma**********@s pamcop.netwrite s:
>On Tue, 24 Jul 2007 17:38:51 +0200, in comp.lang.c , jacob navia
<ja***@jacob.r emcomp.frwrote:
>>Frodo Baggins wrote:
Please don't flame me, but what's wrong with emacs/gcc/gdb as a
developmen t environment? Sure, a bit of work with glue/polish may be
needed.

Regards,
Frodo B

"A bit of work with glue/polish" yeah...

o gcc is one of the slowest compilers I have ever used.
It keeps getting slower at each new version.
You have a different experience to me. We use gcc for a fairly
enormous set of systems at work which we compile for Windows, Solaris
and RHEL, and gcc not noticeably slower than MSVC on Linux (on Solaris
its a dog but thats a /solaris/ problem, not a gcc one...).
>> o gdb is a pile of shit.
Hardly. gdb simply isn't a visual gui debugger. If you want that,
there are tools for linux.

Nearly all of which are rubbish. Eclipse might change that. DDD is a joke.
I would underscore that sentence.

I have used them all (kdevelop debugger, ddd, etc etc) and they all are
just GUI front ends to gdb, presenting you with a SUBSET of the
capabilities of gdb.

For instance, some of them will not allow you to view the registers,
or some of them will not allow you to see the disassembly.

Most of them do not allow "Set next statement", even if gdb can
do that with some obscure command.

They add some bugs to gdb, that even if it is a shit, it has only
few bugs.

And please, do not tell me that "I can report bugs" to the gdb
people.

I found a bug in gdb, fixed it, and send them the fix in the
corresponding gnu "gdb" group.

I never received even an acknowledgment that my fix was received.

jacob

Jul 25 '07 #49
santosh wrote:
Richard wrote:
>user923005 <dc*****@connx. comwrites:
>>On Jul 24, 9:46 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
Frodo Baggins said:

<snip>

Please don't flame me, but what's wrong with emacs/gcc/gdb as a
developme nt environment?
To put it bluntly: emacs.

Just s/emacs/vim/ and you're rolling.
I like GCC with Eclipse and the CDT. I also prefer DDD to GDB.
GCC 4.x has profile guided optimization and other advanced features.
ddd is just a front end to gdb.

ddd sucks. Its one of the ugliest guis ever made IMO.

I'd assume that one would look for functionality and ease of use of the UI,
in a debugger if nowhere else, not it's eye-candy effect. Where do you find
DDD lacking, as far as ease of use is concerned?
ddd is not able to do anything better than gdb. It is dead since
5-6 years (i.e. no longer maintained) and it has the ability of
crashing an X server, what is already a feat for a user program.

But it has some things ok:

o it displays the program text.
o it can display disassembly
o it displays the registers
o it gives you access to gdb, so you can use it for the
commands the GUI doesn't implement.

Of course there is no go to definition, no automatic variable
display, no restart, etc etc. But this is obvious. It is just
gdb.

jacob
Jul 25 '07 #50

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
3414
by: Christian Seberino | last post by:
How does Ruby compare to Python?? How good is DESIGN of Ruby compared to Python? Python's design is godly. I'm wondering if Ruby's is godly too. I've heard it has solid OOP design but then I've also heard there are lots of weird ways to do some things kinda like Perl which is bad for me. Any other ideas?
1
13239
by: lovens weche | last post by:
Is there a good editor that can be used with a 32 bit compiler under the MS-Dos platform? I used to use the Watcom C++ 11 compiler but the editor that came with it (VI if I remeber) was not that great, in fact it was horrible. I'm searching for a Borland C++ style editor and a good C++ 32 bit compiler. Doesn't really matter if the compiler...
7
6160
by: Kyle Stevens | last post by:
Does anyone know of and good, and free, C++ compiler programs and where I might download them?
3
1937
by: happy | last post by:
I am searching over the net for a Good C compiler that has good editor .. Tc 2.01 has bad editor . please advice me with aweb site for downloading the godd Editor C compiler NOT C++. Thanks
9
3022
by: myhotline | last post by:
Hi all, After googling i came across Pelles C, is it a good C compiler over Windows( I am using Windows Xp )...Though Pelles C website says its a C99-compliant compiler, even though i would like somebody to tell me abnout this C99-COmpliance? Are there any other good C99-compliant comilers available for windows....please do let me know.......
43
2609
by: Sensei | last post by:
Hi! I'm thinking about a good programming style, pros and cons of some topics. Of course, this has nothing to do with indentation... Students are now java-dependent (too bad) and I need some serious motivations for many issues... I hope you can help me :) I begin with the two major for now, others will come for sure! - function...
87
3721
by: H. | last post by:
I am a student taking a machine structures class in a university, which includes learning C. I am looking for a good freeware or shareware compiler which can be used in a "C only" mode. C++ isn't allowed in assignments, and I would like the compiler to check for C syntax instead of C++ syntax. Besides that, ease of use for a beginner and...
159
6968
by: bernard | last post by:
howdy! please recommend a good c compiler. - should be small - should be fast - should come with a good ide - should be inexpensive i am using windows os.
23
3120
by: tonytech08 | last post by:
What I like about the C++ object model: that the data portion of the class IS the object (dereferencing an object gets you the data of a POD object). What I don't like about the C++ object model: that most OO features are not available for class object design without loss of POD-ness. So, I'm more than leaning toward "bad" because of...
0
7603
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8047
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7568
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6151
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5159
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3568
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2021
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1139
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.