Questions tagged [gcc]

GNU Compiler Collection

The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages (libstdc++, libgcj,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.

81 questions
0
votes
1 answer

Why c app is not writing to nohup.out

I wrote a simple master-slave failover setup for my two servers using c, running redhat6 which using udp heartbeats to monitor one another. In my app I'm printing out some information like, heartbeat received, server is healthy and some more stuff.…
ivcode
  • 1,062
  • 1
  • 9
  • 13
0
votes
1 answer

Install two gcc compiler on the same machine

My question is simple, is it possible to install two different version of gcc on the same red hat machine. For example : gcc3.4 and gcc4, on red hat 6 ?
Ali Mezgani
  • 3,810
  • 2
  • 23
  • 36
0
votes
1 answer

compiling 64 bit linux kernel with gcc

While trying to compile a 64 bit Linux kernel using GCC, I see the following error: kernel/bounds.c:1: error: code model ‘kernel’ not supported in the 32 bit mode kernel/bounds.c:1: sorry, unimplemented: 64-bit mode not compiled in This is what…
vivekian2
  • 518
  • 3
  • 8
  • 13
0
votes
1 answer

Issue installing gcc & curl-devel on Centos OS 5.6

I'm trying to install gcc and curl-devel on CentOS 5.6 (64 bit) server. The command I'm using is: yum install gcc \ curl-devel After running the command it says: No package gcc available. No package curl-devel available. Is there another way…
Aaron
  • 183
  • 3
  • 11
0
votes
2 answers

Compiling libmemcached Fails on Centos

I am trying to compile libmemcached on Centos 6.4 with gcc 4.8.2. I've run configure which gives me: Configuration summary for libmemcached version 1.0.17 * Installation prefix: /usr/local * System type: unknown-linux-gnu …
Devin Dixon
  • 161
  • 1
  • 5
0
votes
1 answer

gcc sandboxing tool - AppArmor / CHROOT jail on Ubuntu 12.04

We have a Node application as the front end to a C++ sandboxing tool, which compiles code using gcc and outputs the result to the browser. e.g. exec("gcc -o /tmp/test /tmp/test.cpp", function (error, stdout, stderr) { if(!stderr) { …
StuR
  • 167
  • 2
  • 10
0
votes
1 answer

Dependency loop while trying to install gcc on Fedora 17

I'm trying to yum install gcc but getting this message. Error: Package: glibc-common-2.15-37.fc17.i686 (@anaconda-0) Requires: glibc = 2.15-37.fc17 Removing: glibc-2.15-37.fc17.i686 (@anaconda-0) glibc = 2.15-37.fc17 …
Adam
  • 135
  • 1
  • 8
0
votes
1 answer

'gcc' failed with exit status 1 - MySQL-python-1.2.3

I am installing MySQL db for python2.6. I installed it from here but when I am on the line I extracted the file and when I did python2.6 setup.py build it gives a lot of errors and warring and end with some of the lines _mysql.c: At top…
Astha
  • 243
  • 2
  • 6
  • 15
0
votes
1 answer

Reinstalling a package on Solaris 11

I installed gcc 4 on Solaris 11 using pkg-get gcc4g++ near the end of the installation process it showed a warning that some script didn't run succesfully (which I didn't write down unfortunately). Now some include files are missing (eg.…
Gene Vincent
  • 375
  • 1
  • 6
  • 16
0
votes
1 answer

emerge only prints it's parameters along with "Wrong gcc version" message

Our gentoo server has been left in inconsistent state. I don't know what have been done wrong previously, but now I need to fix the system somehow. I've tried to do revdep-rebuild, but it has…
okutane
  • 111
  • 3
0
votes
2 answers

How to change library default dir for gcc or add another path?

Related topic is here Tried to link some files to /lib like this [/opt/lib] # ln -s libncurses.so.5.7 /lib/ [/opt/lib] # ln -s libncursesw.so.5.7 /lib/ Compiler still can't find any ncurses libs... Trying to compile menuconfig in psybnc source.…
holms
  • 1,464
  • 7
  • 20
  • 37
0
votes
1 answer

ruby-1.8.6-p144 on Ubuntu 10.04 [RVM]

wopi@wopi-desktop:~/.rvm/src$ cat /etc/issue Ubuntu 10.04.2 LTS rvm install ruby-1.8.6-p114 gives me errors: https://gist.github.com/814261 How I can install it ?
astropanic
  • 297
  • 2
  • 5
  • 18
0
votes
1 answer

Upgrading the old stock GCC in CentOS 5.5 to a current (stable) version

What would be the optimal way to do that? Are there any precompiled RPMs available somewhere? I read this question here, but the answer was not really satisfactory. The cause for wanting to upgrade: we discovered that the gcc 4.1.2 seems to have…
brandstaetter
  • 229
  • 1
  • 5
  • 13
0
votes
0 answers

Cross-compiling Libssl-dev for ARMV5. How do I make these versions align with each other?

While I am on a x86-64 machine, I need to cross-compile for an embedded GNU linux distro that uses and ARMV5. During compilation I am getting No such file or directory on #include So I will need the source for opensll. Clear…
0
votes
0 answers

Cuda_kde_depth_packet_processor.cu:39:10: fatal error: helper_math.h: File or directory not found

I want that my Kinect 2 is recognized as webcam on ubuntu 21.10 + nvidia driver 470.86 + cuda 11.4 : marietto-BHYVE:/home/marietto# nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on…
Marietto
  • 143
  • 1
  • 8