0
votes
0answers
15 views

I need some help with ld not found library lgcc

I need some help with language C. Well I am trying to compile from my iPad, with the mobile terminal. So I have installed gcc , the headers and the ldid writing apt-get install ldid. It looks like it ...
1
vote
3answers
97 views

Why am I getting these undefined errors when I compile a C++ program in terminal?

I have a C++ program that compiles and runs perfectly in Code Blocks. However when I try to compile it from the terminal using: gcc -g main.cpp -o Main I get a lot of undefined references: And ...
1
vote
0answers
711 views

gcc problem -> stdio.h not found

I have to compile one programme. theoretically i need just to change the two path... can you help me? Makefile # Original #CC=arm-1136jf_s_r1_vfp_hard_float-linux-gnueabi-gcc #CFLAGS= -O3 ...
2
votes
1answer
2k views

Is there any library similar to <conio.h>?

I used the IDE DEV C++ to compile C programs on Windows and I used the libraries and , but now I use Ubuntu and downloaded the Codeblocks, but it does not have these libraries. I just wanted to use ...
6
votes
2answers
8k views

Ubuntu 13.04 with gcc/g++/gfortran 4.8 by default?

I plan to download and install Ubuntu 13.04 and I would like to have two compilers on my system. First question: what is the version of gcc/g++/gfortran shipped with ubuntu 13.04 ? (is it 4.7.3 ?). ...
1
vote
1answer
180 views

linking cpp object file to c object file and create executable

Suppose i have a c++ file, created an object file and c file created another object file. Now i need to link both into one executable. While i'm trying it is giving errors about c++ not found. Can ...
2
votes
1answer
4k views

GCC compiler errors with “No such file or directory”

My Ubuntu version is 12.04 LTS. I have written some C programs. But there is a compiler-problem. I've googled and found that I need build-essential. So I download and installed it. After ...
2
votes
1answer
8k views

How to install gcc 4.6.3 on 12.10?

I want to install a previous version of gcc to make Intel compilers work correctly. Can I use apt-get to install? If so, which repository should I use? Any help is appreciated.
1
vote
0answers
3k views

GCC 4.8 Installation? [closed]

What is the best way to install GCC 4.8 in Quantal Quetzal (12.10)? I am trying to explore it's improved diagnostic messages and compare them to Clang, so 4.7 will not do. gcc-snapshot from the ...
3
votes
1answer
2k views

Can not compile any C code under Xubuntu

I am not a seasoned C programmer, but I compile some C code sometimes. The last time I successfully compiled and run some C code I did it on the same system that I have now (the very same OS on the ...
0
votes
4answers
3k views

How do I compile gcc 4.3.4? [duplicate]

Possible Duplicate: How do I install gcc-4.3? How can I compile (or just install) gcc 4.3.4 on my Ubuntu 11.10 ? I've tried to download and compile it with these instructions: ...
5
votes
5answers
13k views

How do I install gcc-4.3?

Is there and easy way to install gcc-4.3 on Oneiric ? I really need it because matlab depends on i for the creation of mex-files I tried changing all my resopistories back to Maverick just to install ...
1
vote
2answers
1k views

Can't link against opengl anymore

After updating to 11.10 I can't link code against libgl/glut. freeglut3-dev etc. are installed and it looks like they can be found too. I'm really not sure what's going on. Makefile gltest: ...