10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Need assistance in getting a GCC compiler on linux server .
I wanted to install GCC compiler under local user . System doesnt have any compiler . Is there a way to get a compiler installed without a root user, cant install using (rpm, yum )
When I try to compile the gcc source i get the... (7 Replies)
Discussion started by: ajayram_arya
7 Replies
2. UNIX for Dummies Questions & Answers
Hi
How can gcc is missing in linux ?i think we dont need to install it separately , can anyone please clarify
when i issue a gcc command my terminal displays
"If 'gcc' is not a typo you can run the following command to lookup the package that contains the binary:
... (2 Replies)
Discussion started by: rakeshkumar
2 Replies
3. Programming
Hi
We have a huge codebase in HP-UX and we are porting them in RH-Linux. I am facing the problem of making the following code work in gcc -
ofstream ofs;
int fd = open(fileName, openState, openMode));
func(fd);
......
......
const Boolean func(const int fileDescriptor)
{
... (2 Replies)
Discussion started by: nsinha
2 Replies
4. Red Hat
Hi,
I'm a newbie in this forum and a newbie with administering Linux.
I need to install gcc 3.4.6-10 and I've downloaded and installed the rpm, but it seems that it did not do anything.
# rpm -ivh gcc-3.4.6-10.src.rpm
1:gcc ... (3 Replies)
Discussion started by: aarrk
3 Replies
5. Red Hat
Hi All,
My main aim is to find the version of GCC compiler installed on linux box.
Case 1:
When i use gcc -v i get the foll. O/P
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux7/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-128)
case 2:
when i use... (3 Replies)
Discussion started by: Ashok_oct22
3 Replies
6. Linux
Hi All,
I already have gcc complier installed in my machine.
Its version is : gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
I am not sure whethere it's is latest gcc version available. I want to update my gcc version. Can anyone please suggest me what is the latest and stable gcc... (1 Reply)
Discussion started by: bisla.yogender
1 Replies
7. Linux
Hi
I compiled a hello world program on two different 64-bit Linux machines, named quimby and node0331. When I compile on quimby and run on node0331 I get a "Floating exception (core dumped)" error. But if I do it in reverse, things work fine.
Here's my compilation on quimby:
$ uname -a... (3 Replies)
Discussion started by: same1290
3 Replies
8. Solaris
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies
9. Programming
Hi everybody,
I'm trying to update GCC on my computer. It looks that the current GCC installation is not complete. What shall I do with the old GCC? Shall I uninstall it before installing a new one?
Mandrake Linux 10.1
Current GCC 3.4.1
The version being installed -- GCC 3.4.4.
Thanx,... (2 Replies)
Discussion started by: mimino
2 Replies
10. Linux
Ok, i got a problem... I am trying to get the preinstalled Gcc running on my redhat linux 9 from linuxiso.org The problem is, gcc wont load or sumthin
I cannot seem to get it running from "run program" in the menu. I also tried to check /usr/bin to see if it was even there.... Seems like it... (7 Replies)
Discussion started by: gearshifter
7 Replies
klcc(1) H. Peter Anvin klcc(1)
NAME
klcc - compile a program against klibc
SYNOPSIS
klcc [gcc options] [-o outfile] infile...
DESCRIPTION
klcc is a wrapper around gcc(1) and ld(1) which compiles and links a program against the klibc tiny C library. It supports most gcc
options.
Unlike gcc, klcc compiles with optimization on by default. Furthermore, the optimization level used depends on whether or not -g is speci-
fied, since klcc frequently uses options in the normal case which makes debugging impossible. Therefore, compile without -g, -O, -f or -m
option to use the default optimization level; this will generally result in the smallest binaries. You may want to use -s when linking,
however. Use -O0 to compile without any optimization whatsoever; this may not work depending on the version of gcc used.
-nostdinc
allows to turn off klibc include files.
Use the -shared or -static option to compile for and link against shared or static klibc. Note that shared klibc only supports running
against the exact same klibc binary as the binary was linked with.
In addition to standard gcc options, klcc supports options of the form -print-klibc-option, which prints the corresponding klibc configura-
tion option.
AUTHOR
Written by H. Peter Anvin <hpa@zytor.com>.
COPYRIGHT
Copyright (C) 2005 H. Peter Anvin - All Rights Reserved
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MER-
CHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SEE ALSO
gcc(1)
klibc 1 March 2005 klcc(1)