The gcc tag has no wiki summary.
1
vote
1answer
55 views
Native build of gcc compiler on windows 7 x64
I'd like to make a native build for the gcc compiler on my Windows 7 X64 laptop. After reading the installation instructions and realizing they were for a Unix system, I decided that it was time to ...
0
votes
0answers
19 views
How to uninstall gcc 4.6.2 [migrated]
I have gcc 4.6.2 installed (installed from tar source) in my ubuntu server 10.10 64 bit, I have also installed gcc 4.4.5. I want to uninstall gcc 4.6.2 and make my old gcc 4.4.5 default. How can I do ...
0
votes
1answer
27 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
21 views
How do I change build and target architectures for my GCC?
I know my linux box is x86_64 and I want to be able to compile FOR x86_64 as well via GCC. Currently...
gcc -v
shows
Using built-in specs.
**Target: i386-redhat-linux**
Configured with: ...
0
votes
2answers
61 views
Moved to a new Mac and now GCC is missing, what to do?
I have a new Macbook. I bought it, use time machine to move to it, and it copied everything and xCode runs fine, but when I go to the terminal and type gcc it says command not found.
How do I get ...
0
votes
1answer
168 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
47 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 ...
4
votes
2answers
103 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
109 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
2answers
86 views
GCC installation with yum
I am new to Linux and trying to install gcc on my Red Hat Enterprise Linux using the yum package installer. However I receive the following error - can you help me out?
[root@localhost root]# yum ...
1
vote
1answer
1k views
How to install gcc-3.4 on Ubuntu 11.10
I need gcc-3.4 to compile some softwares on my Ubuntu 11.10 (32-bit). So I downloaded:
cpp-3.4_3.4.6-6ubuntu5_i386.deb
gcc-3.4-base_3.4.6-6ubuntu5_i386.deb
gcc-3.4_3.4.6-6ubuntu5_i386.deb
and ...
2
votes
1answer
47 views
Which package should I download to compile C++0x code
OS is Ubuntu 10.04.
I need to compile some C++ code with -std=c++0x flag. But compiling doesn't work because I need 4.6.1 version.
Now, when I go to Gnu's ftp, I see two different packages:
...
0
votes
4answers
120 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 ...
1
vote
0answers
155 views
compiling ffmbc on OS X with libvorbis
I've installed libvorbis, and that all seemed to go fine, and now I'm trying to install FFmbc with --enable-libvorbis but it fails with Error:libvorbis not found. In the config.log produced I get:
...
0
votes
0answers
106 views
How to do a bare minimum install of Xcode such that I can compile common UNIX applications
I just got a new macbook air where every bit of SSD disk space is precious. I want to be able to compile & run most of the open source tools out there. I figured out I needed to install Xcode but ...
13
votes
6answers
9k views
Does Updating to OS X Lion Delete gcc?
I updated to OS X Lion today, and I don't seem to have a copy of gcc any more. Did this happen to anyone else? Does anyone know why this would happen?
1
vote
1answer
29 views
Where do I put self built libraries on OS X?
I downloaded and built a C, g++ library that I want to use in a couple of other C projects.
What is the best/standard directory to put the library in on OS X Snow Leopard?
/opt/local/lib/
...
5
votes
2answers
3k views
How can I update gcc to the latest version in Ubuntu 10.04?
I have Ubuntu 10.04 32-bit with gcc 4.4.3 currently installed on it. I want to upgrade it to gcc 4.6.1.
How to update using Ubuntu Package Manager:
apt-get upgrade/install
As a second option I ...
1
vote
0answers
126 views
So I stupidly install newlib, and probably overwrote references to glibc. How can I recover glibc?
I forgot to set a make --prefix and I think it wrote to /usr/local/ by default and now I'm having all kinds of errors. I'm on ubuntu natty, what's the easiest way to resurrect glibc. I've tried to ...
0
votes
3answers
109 views
GCC won't work. problem with /usr/local/include
I was trying to add a new library/header and seem to have broken gcc. Specifically, I used the command:
$ sudo cp mylib.h /usr/local/include
This seems to have replaced the /usr/ directory with a ...
1
vote
2answers
666 views
Mac OS X 10.6, Xcode 4, PowerPC C compiler?
When I try to cross-compile C code for PowerPC, I get the following error:
llvm-gcc-4.2: error trying to exec '/usr/bin/../llvm-gcc-4.2/bin/powerpc-apple-darwin10-llvm-gcc-4.2': execvp: No such file ...
0
votes
0answers
151 views
Runtime errors when coding OpenCV programs using codeBlocks in linux
When I try to compile a C++ program which uses the openCV library in CodeBlocks it gives me a runtime error :
error while loading shared libraries: libopencv_calib3d.so.2.2:
cannot open shared ...
0
votes
0answers
138 views
Problem with makefile in Cygwin
I have installed Cygwin. My problem is when I try to run a makefile which contains a line
gcc -g -c file.c
I get an error:
Fatal: Unable to execute command: gcc
At the same time when running ...
2
votes
4answers
490 views
How to test if gcc is installed?
How can I find out if I have gcc installed on my machine?
I am trying to run CodeRunner, but it isn't responding. I know you have to have gcc installed in order for it to work properly.
I do have ...
2
votes
3answers
381 views
Install gcc on OS X Snow Leopard
I'm trying to install the Python Imaging Library on a MacBook running 10.6 Snow Leopard. I haven't yet found a precompiled binary for OS X, so I need to compile it from source, which means I need ...
0
votes
1answer
299 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 ...
0
votes
1answer
166 views
configure architecture?
When trying to install a more recent version of subversion, I get an installation error for 'apr'. When I look at the log file, it says:
:debug:main Using compiler 'Mac OS X gcc 4.0'
:debug:configure ...
0
votes
2answers
338 views
Howto compile a kernel module on CentOS [required packages]
What yum commands do I need to get available packages installed on CentOS to build a iptables MATCH kernel module.
8
votes
3answers
3k views
Python 2.6.1, pycrypto 2.3 pypi package: “Broken Pipe” during build
I am attempting to install Fabric, which requires pycrypto. During the build for pycrypto I always receive a "Broken Pipe" error. I don't know where to start to fix the problem.
I'm running Mac OS X ...
0
votes
0answers
194 views
gcc built by crosstool-ng gives undefined reference
I've successfully built a toolchain using crosstool-ng with the default configuration named x86_64-unknown-linux-gnu.
The documentation says:
Using the toolchain is as simple as adding the ...
1
vote
1answer
192 views
Add GCC into Netbeans
I want to make programs in Netbeans (C++ language), but Netbeans doesn't detect C++ libraries and compiler.
How can I add GCC into Netbeans?
0
votes
1answer
311 views
g++ in Knoppix 6 LiveCD
To avoid the inevitable, let me put this in context. I am instructing an Intro to Unix course this semester and the students are using Knoppix 6.4.3 off the LiveCD. They are not required to install ...
1
vote
1answer
240 views
What is the best way to speedup GCC?
Every time I compile my code in GCC it takes about a minute. What is the best way to speed this up? Should I just buy a newer faster computer?
0
votes
1answer
44 views
How can I locate the header + object file of cksum in Mac OS X
I'm trying to locate the header + object file of cksum in Mac OS X, but with no lack. Any suggestions?
0
votes
1answer
199 views
undefined reference to `glib_major_version'
Can you please tell me how can I resolve this 'undefined reference' error when linking on Ubuntu 10.10
conftest.c:(.text+0x4): undefined reference to `glib_major_version'
...
2
votes
3answers
2k views
How to build g++ 4.5.2 on Ubuntu 10.04
My gcc compiler is a bit outdated - gcc 4.3, so I want to build a new gcc from source since I ran apt-get update, but there were no pre-built version available yet.
Has anyone experienced this process ...
4
votes
1answer
289 views
How to benchmark kernel (-Os vs -O2)
It seems logical to me that on a 64-bit kernel compiling it to optimize for size might help overall. (My distro of choice uses -O2) It has the benefits of more registers and memory and perhaps less ...
0
votes
1answer
209 views
Easy way to get gcc and make in OSX
I want to install a few CPAN modules in OSX.
It filed since the module I want requires make and gcc to be installed. A quick google on the subject tells me that I need to install "Apple developer ...
2
votes
2answers
279 views
Checking version of GCC compiler in Code::Blocks [closed]
How do I check, in Code::Blocks, what version of the GCC compiler am I using?
1
vote
1answer
398 views
Linux Install Gcc
I am new to linux and I am setting up a Linux-64 bit for programming in C++ and I want to install the gcc.x86_64 and gcc-C++.x86_64. I use command yum install the two packages. However, half way ...
3
votes
6answers
559 views
Premade Virtualbox images
Long story short, I am trying to find a pre-made Linux development environment for VirtualBox so I don't have to worry about installing a distro, getting all packages installed, and so forth, since ...
2
votes
2answers
9k views
How to install GCC on Windows7
I've downloaded GCC 4.5.1 and do not now what to do next. I've found inside the Install directory instructions how to configure, build and install but still cannot do much with this. May someone step ...
0
votes
2answers
270 views
Cannot configure and install GCC
I've downloaded GCC 4.5.1 and do not now what to do next. I've found inside the Install directory instructions how to configure, build and install but still cannot do much with this. May someone step ...
5
votes
10answers
1k views
Very light Linux distribution without a GUI?
I need a basic Linux box with console and GCC/g++ (and other GNU utils) only to compile and test my program (live CD?). I would like to install/launch it using VirtualBox from Windows XP on my desktop ...
0
votes
1answer
312 views
`GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
For a program, I am getting
GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
on a Debian AMD64 machine. I am guessing the most likely issue is that the program is linked against this ...
0
votes
2answers
78 views
What library does the arg “-lphp5” refer to for GCC?
Where can I get the library -lphp5 refers to? Is it a part of a metapackage for YUM? Can I find the source somewhere? I'm having some configuration issues with PHC and this seems to be at the root ...
2
votes
1answer
162 views
Execute C/C++ program in Notepad2
So I have MinGW and with tweaking, I can run GCC in my CMD. What format do I need to have the file in to run it from the CMD? I tried simply just saving a notepad2 file in C scheme and it won't ...
1
vote
1answer
630 views
Mac ports installation of gcc46 failing due to architecture problems
When trying to install gcc46 on OS X 10.6.4 using port (MacPorts 1.9.1) i get the following errors:
artemis:foo$ sudo port install gcc46
Error: Cannot install gcc46 for the arch(s) 'x86_64' because
...
0
votes
2answers
4k views
How to install Gcc on Fedora 13 with i686 Architecture!
I have installed Fedora 13 lately,
however its architecture is i686...
i want to install the GNU C Compiler (both c and c++).....
now i searched for i686 architecture gcc but most of them are not ...
0
votes
1answer
692 views
Library not found - libgcc_s.so.1: version GCC_4.2.0 not found
I get this error in Ubuntu Lucid (which I did not get in Karmic):
dlopen '/home/wesley/.doom3/base/gamex86.so'
failed: libgcc_s.so.1: version `GCC_4.2.0' not found
(required by ...