473,795 Members | 3,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A good compiler please....

Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.

May 31 '07 #1
20 1585
Nikhil Bokare wrote:
Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.
32 bit code generation:
http://www.cs.virginia.edu/~lcc-win32

compiler+ide+de bugger+project management+
resource editor

Approx 5MB download

jacob
May 31 '07 #2
On May 31, 2:36 pm, Nikhil Bokare <nbok...@gmail. comwrote:
Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.
see this could be useful to download. I don't know more about this
http://www.cs.princeton.edu/software/lcc/

May 31 '07 #3

Guru Jois wrote:
On May 31, 2:36 pm, Nikhil Bokare <nbok...@gmail. comwrote:
Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.

see this could be useful to download. I don't know more about this
http://www.cs.princeton.edu/software/lcc/
why lcc? why not gcc?
http://www.mingw.org/download.shtml
or here is a list
http://www.cpax.org.uk/prg/portable/...#FreeCompilers

is lcc better in some way?

May 31 '07 #4
nszabolcs wrote:
Guru Jois wrote:
>On May 31, 2:36 pm, Nikhil Bokare <nbok...@gmail. comwrote:
>>Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.
see this could be useful to download. I don't know more about this
http://www.cs.princeton.edu/software/lcc/

why lcc? why not gcc?
http://www.mingw.org/download.shtml
or here is a list
http://www.cpax.org.uk/prg/portable/...#FreeCompilers

is lcc better in some way?
Yes. lcc is smaller, no installation problems, and it is a C compiler,
not a C++ compiler that can also compile C.
May 31 '07 #5
jacob navia <ja***@jacob.re mcomp.frwrites:
nszabolcs wrote:
>Guru Jois wrote:
>>On May 31, 2:36 pm, Nikhil Bokare <nbok...@gmail. comwrote:
Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.
see this could be useful to download. I don't know more about this
http://www.cs.princeton.edu/software/lcc/

why lcc? why not gcc?
http://www.mingw.org/download.shtml
or here is a list
http://www.cpax.org.uk/prg/portable/...#FreeCompilers

is lcc better in some way?

Yes. lcc is smaller, no installation problems, and it is a C compiler,
not a C++ compiler that can also compile C.
That is totally unfair.

Gcc is the Gnu Compiler Collection. Formally known as the Gnu C
Compiler.

The C front end to Gcc is just that - a C front end.

May 31 '07 #6
On 31 Mai, 11:36, Nikhil Bokare <nbok...@gmail. comwrote:
Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.
Turbo C was one of my first compilers too, and I did pick up some bad
habbits from it. I haven't used it for a very long time, but you could
check if you invoke it in ANSI mode or not.

A good C compiler is gcc, and if you start using lint too, you a lot
of warnings.

--
Tor

May 31 '07 #7
Tor Rustad <to********@hot mail.comwrites:
On 31 Mai, 11:36, Nikhil Bokare <nbok...@gmail. comwrote:
>Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.

Turbo C was one of my first compilers too, and I did pick up some bad
habbits from it. I haven't used it for a very long time, but you could
check if you invoke it in ANSI mode or not.

A good C compiler is gcc, and if you start using lint too, you a lot
of warnings.
I dont know why but in Linux land "lint" seems to have all but
vanished. There is lclint but this is not in the standard Debian/Ubuntu
repositories.

The Gcc options -Wall and -pedantic can help a lot.

Although off topic, I would be interested to hear what other C
programmers here use for "lint"'like examination of theirs and others
code.
May 31 '07 #8
On 31 Mai, 15:28, Richard <rgr...@gmail.c omwrote:
Tor Rustad <tor_rus...@hot mail.comwrites:
<snip>
A good C compiler is gcc, and if you start using lint too, you get
a lot of warnings.

I dont know why but in Linux land "lint" seems to have all but
vanished. There is lclint but this is not in the standard Debian/Ubuntu
repositories.

The Gcc options -Wall and -pedantic can help a lot.
and -ansi
Although off topic, I would be interested to hear what other C
programmers here use for "lint"'like examination of theirs and others
code.
I use splint myself, which available both on Win32 and Linux.

http://www.splint.org/

on Ubuntu just type

sudo apt-get install splint

--
Tor

May 31 '07 #9
On Thu, 31 May 2007 15:28:46 +0200, Richard <rg****@gmail.c omwrote
in comp.lang.c:
Tor Rustad <to********@hot mail.comwrites:
On 31 Mai, 11:36, Nikhil Bokare <nbok...@gmail. comwrote:
Can anyone suggest me a good, small, easy to use compiler which
follows ANSI C standards?

I use TurboC for the sole reason that I am quite used to it. It does
not follow some of the ANSI C standards.
Turbo C was one of my first compilers too, and I did pick up some bad
habbits from it. I haven't used it for a very long time, but you could
check if you invoke it in ANSI mode or not.

A good C compiler is gcc, and if you start using lint too, you a lot
of warnings.

I dont know why but in Linux land "lint" seems to have all but
vanished. There is lclint but this is not in the standard Debian/Ubuntu
repositories.

The Gcc options -Wall and -pedantic can help a lot.

Although off topic, I would be interested to hear what other C
programmers here use for "lint"'like examination of theirs and others
code.
PC Lint http://www.gimpel.com

A commercial product, but very reasonably priced for what it does.

I haven't tried splint, so I don't know if it is as good.

Anyone who makes a living programming in C who does not use a lint, or
one of the more advanced and really expensive static analysis tools on
the market, only thinks he/she is a professional programmer.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.l earn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
Jun 1 '07 #10

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

Similar topics

1
13285
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 doesn't optimize the code. Thanx in advance... Lovens
72
5899
by: E. Robert Tisdale | last post by:
What makes a good C/C++ programmer? Would you be surprised if I told you that it has almost nothing to do with your knowledge of C or C++? There isn't much difference in productivity, for example, between a C/C++ programmers with a few weeks of experience and a C/C++ programmer with years of experience. You don't really need to understand the subtle details or use the obscure features of either language
39
2864
by: Suresh | last post by:
Hi, I am new to C and curious to know some basic questions about C. Why C is good? In what way its better than any other languages? If it is no longer a choice of programming language...why people still study it? And also its not an OO language either...is there any advantages in being not an OO language? I know one reason is that, IT started with C and so they are still using
3
1954
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
3033
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.... Any cooperation at earliest will be highly appreciated... REgards -Ahmed
45
2424
by: Brett | last post by:
If I do this without declaring a corresponding field, is it considered bad design? What are the advantages or disadvantages to either method? Notice there is not set. public string URL { get { return "www.somewhere.com/test.aspx"; }
5
1661
by: tthunder | last post by:
Hi @all, I am looking for a good (compiler-independent) way to generate meaningful error messages, if specific (unintended) templates are instantiated. e.g. ------------
159
7133
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
3152
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 the limitations and
0
9672
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10164
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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
2
3723
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.