Re: A good compiler please....
- From: Tor Rustad <tor_rustad@xxxxxxxxxxx>
- Date: 31 May 2007 07:12:23 -0700
On 31 Mai, 15:28, Richard <rgr...@xxxxxxxxx> wrote:
Tor Rustad <tor_rus...@xxxxxxxxxxx> writes:
<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
.
- References:
- A good compiler please....
- From: Nikhil Bokare
- Re: A good compiler please....
- From: Tor Rustad
- Re: A good compiler please....
- From: Richard
- A good compiler please....
- Prev by Date: Re: HELP!! Two questions from <<the c programming language>>
- Next by Date: Re: Integrated debug library for a C program
- Previous by thread: Re: A good compiler please....
- Next by thread: global variable declaration in header
- Index(es):