12-18-2008
You cannot build gcc without a C compiler! It's a chicken-and-egg problem.
You ought to install the binary version that comes with whatever distribution you're running, there's no reason to compile it yourself.
10 More Discussions You Might Find Interesting
1. Programming
I want to install the Perl DBI module on to
my solaris ultra 10.
Solaris ultra 10 does not come with a C compiler
so I downloaded gcc compiler.
Then I ran install as follows:
# cd DBI-1.30
# ls
blib DBI.xs Driver.xst Perl.c test.pl
Changes dbi_sql.h ... (2 Replies)
Discussion started by: photon
2 Replies
2. Linux
I download a gcc3.0.tar.gz file ,then tar it.
Continue,I change current path to gcc3.0 and press
./configure
The error appeared ,it is CC command not found .
Please tell me What can I do to pass on. (1 Reply)
Discussion started by: fansings
1 Replies
3. Solaris
Hi,
Installed the gcc compiler off the Solaris 9 Companion CD a while back , but needed to delete it due to disk space issues.
Now that I have sorted out our root disk space I can`t reinstall the compiler.
If I select all the packages off the Development/Languages menu , the install list... (3 Replies)
Discussion started by: markdr011
3 Replies
4. Programming
I am new to comiling c/c++ programs with gcc compilier
unix - AIX version 5.3
gcc compiler version - 4.0.0
My makefile.
# makefile 1.0 08/20/98
#CC = cc
CC = gcc
ESQL = esql
CFLAGS = -Wall
DBSLIB=
DBSLIB=-L${INFORMIXDIR}/lib/esql -L${INFORMIXDIR}/lib `esql -libs`
ALL = hds_near... (9 Replies)
Discussion started by: anish
9 Replies
5. HP-UX
Hi
I have locally compiled and installed gcc-4.1.2 in directory /usr/local/pkg/gcc/4.1.2/bin/gcc
I want to compile beecrypt using this new compiler , So i have done
setenv CC usr/local/pkg/gcc/4.1.2/bin/gcc ( Note this configuration is running properly with older version of... (1 Reply)
Discussion started by: vasanthan
1 Replies
6. AIX
I want to install gcc compiler on aix box.
$uname -a
AIX GTMIT 3 5 000000000000
Can any one help me installing gcc compiler(step by step)either by smit or rpm commands ?
What is boot straping ?
Its urgent ..
Thanks in advance (2 Replies)
Discussion started by: kittu1979
2 Replies
7. Programming
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
Discussion started by: f.ben.isaac
12 Replies
8. UNIX for Dummies Questions & Answers
Hi all
I'm trying to install sudo. When I first ran the sudo configure script it errored saying that I didn't have a C compiler. I have since installed the GCC 3.4.6 package for sol8 from sun freeware.
Doing that resolved the no C complier found error. I was then getting an error saying... (1 Reply)
Discussion started by: Donkey25
1 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I've done hours of reading on google and can't find an answer...
I'm trying to compile/install the Apache web server on a Unix vm.
When i try ./compile (the file's been unzipped already), I get this error:
$ ./configure
checking for chosen layout... Apache
checking for working mkdir... (8 Replies)
Discussion started by: eddlo
8 Replies
10. UNIX for Advanced & Expert Users
Hi,
Apologies if I posted it in a wrong section as it is related to gcc on cygwin. Please move it to appropriate section.
I'm trying to compile and build libsigc++-2.10.2 on cygwin with gcc 8.3.0.
when I run ./configure, I get this:
I couldn't fully understand what does... (13 Replies)
Discussion started by: prvnrk
13 Replies
LEARN ABOUT DEBIAN
scan-build
SCAN-BUILD(1) SCAN-BUILD(1)
NAME
scan-build
scan-build(1) -- An utility for running the clang(1) analyzer from the command line
SYNOPSIS
scan-build options build command [build options]
DESCRIPTION
scan-build is a command line utility that enables a user to run the clang static analyzer over their codebase as part of performing a regu-
lar build (from the command line).
OPTIONS
-analyze-headers
Also analyze functions in #included files.
-o Target directory for HTML report files. Subdirectories will be created as needed to represent separate "runs" of the analyzer. If
this option is not specified, a directory is created in /tmp (TMPDIR on Mac OS X) to store the reports.
-h, --help
Display the help message.
-k Add a "keep on going" option to the specified build command.
--keep-going
This option currently supports make and xcodebuild. This is a convenience option; one can specify this behavior directly using build
options.
--html-title [title]
Specify the title used on generated HTML pages.
--html-title=[title]
If not specified, a default title will be used.
-plist By default the output of scan-build is a set of HTML files. This option outputs the results as a set of .plist files.
--status-bugs
By default, the exit status of scan-build is the same as the executed build command. Specifying this option causes the exit status
of scan-build to be 1 if it found potential bugs and 0 otherwise.
--use-cc [compiler path]
By default, scan-build uses 'gcc' to compile and link
--use-cc=[compiler path]
your C and Objective-C code. Use this option to specify an alternate compiler.
--use-c++ [compiler path]
By default, scan-build uses 'g++' to compile and link
--use-c++=[compiler path]
your C++ and Objective-C++ code. Use this option to specify an alternate compiler.
-v Verbose output from scan-build and the analyzer. A second and third '-v' increases verbosity.
-V View analysis results in a web browser when the build
--view completes.
ADVANCED OPTIONS
:
-constraints [model]
Specify the contraint engine used by the analyzer. By default the 'range' model is used. Specifying 'basic' uses a simpler, less
powerful constraint model used by checker-0.160 and earlier.
-store [model]
Specify the store model used by the analyzer. By default, the 'region' store model is used. 'region' specifies a field sensitive
store model. Users can also specify 'basic', which is far less precise but can more quickly analyze code. 'basic' was the default
store model for checker-0.221 and earlier.
-no-failure-reports
Do not create a 'failures' subdirectory that includes analyzer crash reports and preprocessed source files.
EXAMPLES
Basic usage of scan-build is designed to be simple: just place the word "scan-build" in front of your build command:
$ scan-build make
$ scan-build xcodebuild
In the first case scan-build analyzes the code of a project built with make and in the second case scan-build analyzes a project built
using xcodebuild.
It is also possible to use scan-build to analyze specific files:
$ scan-build gcc -c t1.c t2.c
This example causes the files t1.c and t2.c to be analyzed.
AUTHORS
Maintained by the Clang / LLVM Team http://clang.llvm.org.
This manual page was written by Ermenegildo Fiorito fiorito.g@gmail.com for the Debian Project.
SEE ALSO
clang(1) scan-view(1) http://clang-analyzer.llvm.org
December 2010 SCAN-BUILD(1)