1
vote
0answers
28 views

gcc --as-needed linker flag not working

I have two computers with Gentoo, both on AMD64. I try to build a following program: int main() {tgetent();} The command to compile is: gcc -v 1.c -Wl,--as-needed -lncurses On one computer it ...
0
votes
1answer
71 views

Using gcc (>= 4.8) with OBS (OpenSUSE Build Service)

I am currently using the OpenSUSE Build Service (https://build.opensuse.org/) to build ArangoDB. However, for some newer C++ features I need a fairly current C++ compiler. For some of the older ...
0
votes
0answers
33 views

Error installing HandBrake on Amazon AMI Linux

When I tried to compile Hand Brake, I get the following error: checking whether we are using the GNU C++ compiler... no checking whether /usr/bin/g++ accepts -g... no checking dependency style of ...
0
votes
0answers
32 views

Slow mac when compiling and running jobs in terminal

I am having numerous problems with the newest Macbook Pro 13 inch (16GB RAM i7 13inch retina display) when compiling programs in the terminal. Every time I start a process whether it is compiling a ...
0
votes
2answers
152 views

Unable to install TI Linux emulator on Linux Mint 16 KDE

I have Linux Mint 16 KDE, and I wanted to install the Texas Instruments Emulator from http://lpg.ticalc.org/prj_tilem/download.html. I downloaded and extracted the source code, and installed all the ...
0
votes
0answers
55 views

Trouble installing gcc-4.0 in Ubuntu 11.10

I have gcc-4.6.1 installed in my Ubuntu 11.10 system. For compiling some other software I require gcc-4.0. I download the gcc-4.0.0 tar file and extracted it. I created a new folder and ran the ...
0
votes
1answer
233 views

Use scons with gcc 4.7 on CentOS 6

I followed the instructions at Install gcc 4.7 on CentOS for installing gcc 4.7.2 under /opt/centos/devtoolset-1.1/root/. Now I'd like to build a project which is configured to use scons. I did the ...
1
vote
2answers
72 views

Error while loading shared libraries - libwebsock

Im trying to setup libwebsock, simple C websocket library. I followed the installation procedure from INSTALL file, everything went fine. Im able to compile test program given in the examples. But ...
0
votes
1answer
185 views

gcc-4.8.2 make command error

our server has "gcc-4.4.7-3.el6.x86_64" I was trying to upgrade to "gcc-4.8.2" from source. configure completed without errors make command has reported following errors in config.log file : ...
0
votes
0answers
93 views

Garry's Mod - GLIBCXX_3.4.14 Missing, etc

This is what happens to my Gmod server whenever I start it up. I've tried yum install glib and gcc, etc. and nothing has worked. Anybody know how to get this stuff. I've even tried yum whatprovides ...
1
vote
0answers
76 views

Uninstall gcc from source

For fun, I compiled and installed gcc 4.7.2 in ~/build, which contains bin, doc, lib, include, man, share, et al. directories, all of which are added to the appropriate environment variables. Now I ...
1
vote
1answer
431 views

Gentoo LDFLAGS optimizations really needed?

I'm using Gentoo Linux. Here is my toolchain: sys-kernel/linux-headers-3.9 sys-devel/binutils-2.23.1 USE="cxx nls zlib -multislot -multitarget -static-libs {-test} -vanilla" ...
0
votes
1answer
59 views

Cant compile SDL source file with gcc

i downloaded a manual of introduction to graphics programming with SDL, so i tried to compile my first source and it logged the next error the command to compile it was: $ gcc helloWorld.c [-o ...
0
votes
1answer
360 views

GLIBCXX 3.4.14 missing for Garry's Mod on CentOS

When installing Garry's Mod via Steam on my CentOS server I get the following errors: -- ConVarRef mat_dxlevel doesn't point to an existing ConVar Game_srv.so loaded for "Garry's Mod" ...
0
votes
0answers
99 views

Segmentation fault with glibc

I tried to install Chromium browser on Salix 13.37 Fluxbox, I got an error that said it requires newer versions of libstdc++.so.6 and libc.so.6, so I download and compile gcc and glibc, as I still get ...
0
votes
0answers
123 views

Installation of QEMU and GCC for emulation of ARM processor - RHEL

I am trying to install the QEMU to emulate the ARM processor and run assembly programs. As part of the emulation in RHEL systems, I need to install the following. QEMU Emulator GCC for ARM GDB ...
1
vote
2answers
837 views

RHEL Desktop: How to install g++?

I bought a RHEL Desktop (not workstation) subscription recently to support Red Hat. Now I would like to install the gcc-c++ package. When I search for it with yum, I get No matches found. Searching ...
0
votes
0answers
124 views

gcc won't compile. Compile Error : Bus Error

I use fedora 17 and from last two days gcc has started behaving weird. Whenever I try to compile a file whether its a *.c or *.cpp it gives following result: $ gcc -c c.c cc1: internal ...
0
votes
0answers
157 views

How to get gcc compiler version in python script on linux?

I'm trying to write a simple python script that will print the the gcc compiler version which is available on the current Linux system. may i know how to get the compiler version in python?
2
votes
1answer
862 views

How to install an old version of gcc using yum on fedora 18?

I want to install gcc 3.6 on fedora 18. when I do yum install gcc I get the gcc 4.7. but I want an old version.
0
votes
1answer
133 views

Libraries which exist in a binary's elf DT_RUNPATH are not being chosen?

I have custom built gcc-4.7.2 in my environment. The system gcc is gcc-4.3.4. I have patched the DT_RUNPATH for all my custom gcc's binaries and shared libraries using patchelf --set-rpath However, ...
0
votes
1answer
137 views

Run local GCC on remote linux server

I'm sure this has been asked before but after some time searching I'm not finding quite what I want. I have a test server that I cannot install GCC or other development needs on. On my development ...
1
vote
0answers
321 views

PHP static compiling

Has anyone managed to compile PHP statically? I configured PHP with: ./configure --enable-embed=static --enable-static=yes --enable-shared=no --disable-cli --disable-all Before i ran make i edited ...
0
votes
0answers
166 views

Python 3 on ChromeOS

I just got a Chromebook (Acer C7) and would like to do very minimal local development on it. I would like to have Python 3.x at a minimum, and pygame would be even better, but I'm not banking on ...
2
votes
3answers
611 views

Bootstrap error while compiling GCC 4.8.0

I'm getting bootstrap errors while trying to install GCC and could use some help. I'm trying to compile GCC in my home directory on a shared system (cluster). The cluster has GCC 4.4.3, which I'm ...
1
vote
2answers
94 views

GCC running version doesn't match emerged version

Here is the output from my portage search for gcc: emerge -s gcc ... * sys-devel/gcc Latest version available: 4.6.3 Latest version installed: 4.6.3 Size of files: 70,353 kB ...
1
vote
1answer
3k views

Error installing GCC on Fedora

I've been trying to install GCC on Fedora 18. Here is a direct excerpt from my terminal window: ishan@localhost ~]$ sudo yum install gcc gcc-c++ Loaded plugins: langpacks, presto, refresh-packagekit ...
2
votes
0answers
44 views

Is there a way to use an external computer's compiler and fetch results?

I have to use Windows 7 for some reason, but sometimes I need to compile and execute simple programs using C language, which are supposed to work in Linux. All of them are console applications, don't ...
3
votes
2answers
934 views

gcc running out of memory in Ubuntu 12.10

I'm trying to compile my C project in Ubuntu (32bit) running in VirtualBox. Compiling the code in question requires quite a bit of memory, at least 3 gig. So I gave the VM 2 gig. Along with 2 gig of ...
0
votes
2answers
75 views

Installing MediaWiki on Linux

I'm am new to Linux and generally new to setting up a web dev environment. I need help with the basics right now. I'm trying to install a LAMP stack that I can then install MediaWiki on. Here's what ...
0
votes
1answer
98 views

How can we upgrade old GCC 3.4 to GCC 4.1 on Fedora 3?

How can we upgrade the old GCC from version 3.4 to 4.1(that is from GCC 3.4 to GCC 4.1 or above) on Fedora 3 (version is 2.6.10)? More information: We are developing an application which will be ...
4
votes
2answers
2k views

Installing Network Simulator (NS-2, allinone) on Linux Mandriva

I downloaded the Network Simulator NS-2 from here - http://www.isi.edu/nsnam/ns/ns-build.html#allinone Build ns via GCC 4.2.2 - tar-xzf ns-allinone-2.35.tar.gz cd ns-allinone-2.35 ./install Get ...
1
vote
1answer
991 views

alias gcc='gcc -fpermissive' or modifying ./configure script

I am compiling quite big project from source. The compilation always ends with: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] I have already compiled this project one year ...
2
votes
1answer
1k views

how to install a old version of gcc compiler from software manger and use it with plain “gcc” command?

I am struggling with the problem of Matlab mex compile. It needs specific old version of gcc compiler 4.4.6 . But in manager there is only 4.4 version. How could I specify it as 4.4.6? Or is it ...
0
votes
1answer
300 views

Linux From Scratch, glibc Make error

I am following the LFS guide 7.2 and I am at section 5.7. When executing the Glibc make, I receive the following error. -o /mnt/lfs/sources/glibc-build/math/s_isnan.os -MD -MP -MF ...
0
votes
2answers
427 views

Wine on Gentoo fails with libgcc_s.so.1 must be installed message

Not long ago problems with Wine have began on my Gentoo PC... When I try to launch any application I see this thing: libgcc_s.so.1 must be installed for pthread_cancel to work wine client error:25: ...
0
votes
3answers
328 views

How to use LC_MESSAGES=C with gcc every time?

Currently I'm using Ubuntu with my system locale and language set to Japanese. However I'd like to have it always displaying gcc messages in English as it would be easier for me. I found here if I ...
1
vote
0answers
278 views

Compile MakeMKV 1.7.6 - Segmentation Fault

I've previously been able to compile MakeMKV 1.7.5 and older versions, but the latest version (downloaded from http://www.makemkv.com/forum2/viewtopic.php?f=3&t=224) gives me strange segmentation ...
0
votes
0answers
106 views

Possible to change dynamic libc.so address?

The commands gcc main.c -o main ldd main yield linux-gate.so.1 => (0x00f67000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00b7d000) /lib/ld-linux.so.2 (0x00ae5000) Is it ...
1
vote
1answer
289 views

how to install the latest gcc compiler from source on linux without messing everything else up?

Hi is there an appropriate guide or tip or tricks to install gcc on a linux system such as red hat without using the package manager , from source , and with out having it mess everything else up? So ...
0
votes
2answers
415 views

man gcc not working

I was trying to read about how to make gcc compile C code to plain assembly for a bootloader, but when I tried to read the man pages there were none! $ man gcc No manual entry for gcc See 'man 7 ...
0
votes
0answers
91 views

How do I install decNumber?

This application is part of gcc but I'm trying to upgrade just decNumber. Is this even possible? I svn checked out the source for decNumber from gcc's website. When I run ./configure within the ...
1
vote
2answers
415 views

installing vlc-tar.bz2 and gcc.tar

I need to install vlc player in fedora which is a tar.bz2 file. How can i install it ? Someone told me that gcc is needed to install this software. How do install gcc-4.6.2.tar ? Please list the ...
0
votes
1answer
978 views

Can't seem to install 64bit GCC with YUM

I type the following... $ yum install gcc.x86_64 (by the way, is "gcc.x86_64" the right package for 64bit gcc?) [...] I get the following errors... [...] Total size: 16 M Downloading ...
0
votes
1answer
1k views

Cannot install build-essentials/GCC on Kubuntu 11.10?

I recently installed kubuntu 11.10 but to my surprise there is no gcc installed on it.Because of this I cannot install virtual box guest additions(they require the make utility) and I am not able to ...
0
votes
0answers
595 views

Building against an older glibc

Is it possible to build glibc/gcc/binutils in the version combo of say 2.4/4.6/2.22 (or some later version of GCC used by the oldest/'stablest' linux distro's still around)? I would like to create ...
5
votes
2answers
3k views

Upgrading GCC on CentOS

I need to upgrade GCC. When I type yum install GCC it tells me Package gcc-4.1.2-51.el5.x86_64 already installed and latest version. Unfortunately I'm trying to install some software which requires ...
1
vote
2answers
470 views

I've installed gcc 4.6.1 on lion, do I overwrite default gcc?

I (more or less) followed the instructions here http://solarianprogrammer.com/2011/09/20/compiling-gcc-4-6-1-on-mac-osx-lion/ to install a more recent version of gcc so that I can build ruby on a new ...
0
votes
4answers
140 views

Why I should type “./” when I want running an application that compiled by GCC in Linux?

My OS is Fedora Linux 14. I write a program with Code::Blocks IDE and it compiles my program with GCC. My output program is test. When I start my application in Code::Blocks it starts normally. But ...
0
votes
1answer
796 views

How do I find the installation path of binutils, gcc-3.4.4.tar.gz in Ubuntu?

I have ubuntu 8.10. In this I could find the binutils, gcc are installed. But when ever I try to know that glibc, glibc-linuxthreads are installed are not. It showing that no package is found. For ...