gcc for linux.
S Mahadevan-A19066
mahadevan.s@motorola.com
Thu Nov 6 12:15:00 GMT 2003
Bharati> Test whether it is installed OR not ? $ gcc -v
voip-linux:~ [\>] > gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat
gcc version 2.95.3 20000503/Linux (prerelease)
I do have gcc installed previously but it doesn't compile a hello world
program successfully. I believe I need a compiler that works fine if I have
to install gcc from its source (to run make bootstrap). As I don't have a proper
compiler installed, I think I need gcc as pre-compiled binary (not as source
and not from a CVS snapshot). where can I get pre-compiled binary for gcc for Linux?
==============Output of compilation===========================================
gcc -c test.c
<command line>: warning: "system" re-asserted
<command line>: warning: "cpu" re-asserted
<command line>: warning: "machine" re-asserted
cpp: -lang-c: linker input file unused since linking not done
In file included from /usr/include/libio.h:53,
from /usr/include/stdio.h:65,
from test.c:1:
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h:43: parse error before
`__gnuc_va_list'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h:43: warning: data defin
ition has no type or storage class
In file included from /usr/include/stdio.h:65,
from test.c:1:
/usr/include/libio.h:457: parse error before `__gnuc_va_list'
/usr/include/libio.h:459: parse error before `__gnuc_va_list'
In file included from test.c:1:
/usr/include/stdio.h:285: parse error before `__gnuc_va_list'
/usr/include/stdio.h:287: parse error before `__gnuc_va_list'
/usr/include/stdio.h:291: parse error before `__gnuc_va_list'
/usr/include/stdio.h:300: parse error before `__gnuc_va_list'
test.c: In function `main':
==============Output of compilation===========================================
-----Original Message-----
From: Bharathi S [mailto:bharathi@lantana.TeNeT.res.in]
Sent: Thursday, November 06, 2003 4:59 PM
To: S Mahadevan-A19066
Cc: gcc-help@gcc.gnu.org
Subject: Re: gcc for linux.
On Thu, 6 Nov 2003, S Mahadevan-A19066 wrote:
> I need to install gcc compiler on a Linux system.
Test whether it is installed OR not ? $ gcc -v
> where I can find linux gcc binaries/RPM?
In your installation CD OR from GNU web site.
Bye :)
--
Bharathi S, IndLinuX Team, (__)
DON Lab, TeNeT Group, oo )
IIT-Madras, Chennai-INDIA. (_/\
More information about the Gcc-help
mailing list