1
vote
0answers
70 views

Install gcc into x86_64-linux-gnu

I'm trying to compile and install gcc-4.9.0 on my Debian system, and in particular I want the new version to overwrite an old version of libstdc++.so.6 in /usr/lib/x86_64-linux-gnu that came as ...
2
votes
1answer
100 views

How to build gcc inside a Debian chroot?

I used debootstrap to set up a minimal Debian system (x86): debootstrap wheezy /var/chroot http://ftp.debian.org/debian/ Then I entered the chroot and installed some packages: apt-get install ...
3
votes
4answers
641 views

Automatically update GCC to a later release without upgrading distribution

My understanding is that C++11 support in G++ 4.7.2 wasn't great (it gives me a warning everytime I try to compile my C++ code, presumably there are good reasons for these warnings), so thought I ...
0
votes
1answer
150 views

How to specify a custom include directory in Debian?

I am trying to compile my program on a Debian system via ssh and without root privileges. PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" NAME="Debian GNU/Linux" VERSION_ID="7" VERSION="7 (wheezy)" I ...
1
vote
0answers
302 views

Problem with configure - cannot find -lgcc_s

I want install Argos 0.5 to Debian 3.12.6-2 (2013-12-29) x86_64 GNU/Linux. I had to install gcc 3.4 because Argos call for it. Now I have gcc 3.4 and gcc 4.8.2-2 too. Problem is that ./configure ...
0
votes
1answer
57 views

Squeeze/Lenny compilation : Library Link error

I've got a problem here : I have a C++ Library ("DataTsBroad") and a C++ Test app ("DataTsBroadTest"), to test it. Actually, the Lib and the Test app are both compiled an a Debian Lenny. Now, i ...
2
votes
1answer
67 views

Self complied version of GCC overwriting package installed version [duplicate]

I'm using debian to do most of my coding work, and I was doing a homework project that required a certain version of gcc to compile the program I was working on. I downloaded the gcc source and ...
1
vote
0answers
153 views

How to install gcc 4-8 on #! Waldorf 64-bit?

I would like to install and use g++ 4-8 compiler. It supports various C++11 features, and I am willing to look into them and use them. Also, as I came here from Windows, my previous files also used ...
2
votes
0answers
2k views

How to install gcc 4.8.1 on debian wheezy

I would like to install GCC 4.8.1 on my Debian Wheezy 7.1.0 system. The current version of GCC installed on my system is the 4.7.2. I see gcc-4.8.1 is available on the Debian repository. Can someone ...
2
votes
1answer
111 views

console displaying quote character from gcc wongly

After an upgrade to debian wheezy my text consoles displays questions marks where there should be quotes Under X I see things correctly window.cpp:1056:21: error: base operand of ‘->’ is not a ...
0
votes
1answer
955 views

Fatal error: No compiled in support for x86_64

Can't use gcc on x64 debian: $ gcc a.cpp Assembler messages: Fatal error: No compiled in support for x86_64 what should I do? Some people propose installing binutils, but they are already there. ...
1
vote
2answers
380 views

compiling with gcc broken for users but fine for root

So somewhere along the way compiling as a regular user has stopped working on my server. I'm on Debian Stable. Can't think what has changed on my system that would result in this, or how to fix it, ...
3
votes
1answer
6k views

Install gcc 4.7.2 on Debian squeeze 64x

I want to use gcc 4.7.2 on my Debian squeeze 64x I followed instructions in this thread: Get newest gcc for debian?, but I'm getting an error, I tried several apt-get install commands I will settle ...
2
votes
1answer
414 views

Being not admin user how to install local GCC instead of provided?

So I came into my classrom Debian is installed, and gcc 4.1. I want to install (compile from sources is an option - I have time..) for my self GCC 4.7 and adress it in bash as gcc anywhere. Is such ...
0
votes
1answer
566 views

Error compiling glib

I am trying to compile glib 2.24.2 under Debian 64bit GNU/Linux 6.0.4 (squeeze) using: gcc 4.0.3 glibc 2.3.6 Configure command: CPP="/home/swarkentin/externalBins/bin/cpp" \ ...
7
votes
2answers
893 views

Find and install man file manually

I seem to be missing some man pages, notably gcc and g++. It doesn't help that I specify the section. whereis doesn't list man pages for those two, so I think they are simply not there. With Google I ...
6
votes
2answers
11k views

Get newest gcc for debian?

I can't build my apps on gcc since I use various c++0x features. I'm on Debian 6 (Lenny) and after upgrade/updating I have gcc version 4.4.5-8. I'm unsure which version is required but mingw 4.6.2 ...
2
votes
2answers
745 views

is stack-smashing protection on on Debian?

I heard that every binary that comes with Ubuntu is protected with stack-smashing protection and possibly other gcc features to harden programs against common security threats. What about Debian? I ...
3
votes
2answers
17k views

Debian 6 Squeeze - installing build-essentials - gcc / g++

The first thing to say is: "I am noob", so please be patient and don't laugh.. too much on me. I need to install c / c++ compiler and I heard that the best thing to do is to install gcc/g++ for that ...
5
votes
1answer
598 views

How to recompile a Debian package with -Os?

There are a few larger programs I am interested in compiling with -Os. The normal method I use to patch/recompile programs is apt-get source followed by dpkg-buildpackage. I learned from the ...