The compiler tag has no wiki summary.
1
vote
1answer
20 views
architecture-independent performance monitor tool
I got to know "perf" tool in "linux-tools-3.2.0-43" for Ubuntu 12.04 which can monitor the performance counts for some micro-architectures, however, the tool is dependent to the cpu architecture and ...
0
votes
0answers
18 views
g77 installation problem [duplicate]
I have done all the solutions which are written in this website.But I have still this error while I use ''make'' in Terminal:
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: ...
2
votes
1answer
517 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
70 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
0answers
55 views
Cannot connect to ubuntuarchive.hnsdc.com, how to install g++? [duplicate]
Possible Duplicate:
‘Some index files failed to download’ while updating
I am using Ubuntu 10.04.
I typed sudo apt-get install g++ in the terminal and got the following output. I can't ...
0
votes
0answers
55 views
Is there a C/C++ compiler for Ubuntu? [duplicate]
Possible Duplicate:
Can I use a C/C++ compiler?
Is there a good C/C++ compiler out there for Ubuntu? I'm going to be learning C soon and would like to know if I should just use windows for ...
4
votes
1answer
188 views
I can't compile a C++ program with the g++ command
If I try compiling my C++ source file by the following command:
g++ a.cpp
it outputs:
The program 'g++' can be found in the following packages:
* g++
* pentium builder
try:
sudo apt-get intsall ...
2
votes
1answer
1k 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 ...
0
votes
1answer
4k 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.
0
votes
2answers
2k views
how to install g77 on ubuntu 12.04
I want a workin g77 compiler on my Ubuntu 12.04 64 bit laptop.
so did the following:
I change the sources.list by adding the following lines:
deb http...hu.archive.ubuntu.com/ubuntu/ hardy ...
1
vote
0answers
139 views
ld cannot find -limf -lsvml -lipgo -ldecimal -lirc
I have installed the ICC recently, the XE composer 2013 version and I don't get success for running it because I have some errors to find libs that I don't know, however, I think that the artifact ...
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
3answers
2k views
Is there a built-in c++ compiler in 12.04? [duplicate]
Possible Duplicate:
Can I use a C/C++ compiler?
I just installed Ubuntu on my laptop because my programming professor insisted on it. This is my first time using Ubuntu. So I had some ...
0
votes
0answers
138 views
Clang 3.1 with -faddress-sanitizer link error
Has anyone managed to compile and link a program with the -faddress-sanitizer option on Precise? I installed clang 3.1 from the PPA specified here and it all seemed hunky dory until I attempted to ...
2
votes
1answer
1k 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
1answer
76 views
How do I find the dependencies for a program before trying to compile it?
I was trying to cross-compile a program for ARM.
While compiling I was very much irritated as I had to look for a number of dependencies e.g fatal error: abc/xyz.h: No such file or directory ...
0
votes
0answers
74 views
x11 directory specified in makefile doesn't exist, but project compiles and runs perfectly
So the x11 directory defined in the makefile is: usr/X11R6/lib64, which does not exist.
however, the project compiles perfectly in Kdevelop and runs with no problems.
If I take out all inclusions of ...
10
votes
2answers
4k views
LLVM/Clang 3.1 & libc++
Has anybody built and setup an Ubuntu Precise PPA for LLVM/Clang 3.1? A bonus would be to have a recent version of libc++ integrated into it aswell.
0
votes
0answers
250 views
Suggested Scheme Interpreter/Compiler for Learning the Language? [closed]
Which Scheme interpreter or Compiler do you suggest for learning the language? I will be reading from Dybvigs "The Scheme Programming Language" book (probably the third rather than the fourth edition) ...
0
votes
0answers
3k views
“bits/predefs.h: No such file or directory” error when trying to compile gcc [closed]
Ubuntu 12's default compiler is 4.6.3; I'd like to use c++1x features only available in gcc 4.7.
Compiling gcc from source fails with the diagnostic bits/predefs.h: No such file or directory.
As ...
0
votes
1answer
171 views
Cannot install package `libxerces27-dev` when installing `phc` php compiler
To install phc following this guide in Ubuntu Oneiric 11.04, I get error saying that the package is not available as below screenshot.
Searching for the package at ubuntu's package search page result ...
0
votes
0answers
145 views
Advantages of particular “do while” macro in c? [closed]
I come across macros that are defined as follows:
#define CALL_FUNCS(x) \
do { \
func1(x); \
func2(x); \
func3(x); \
} while (0);
now, of course this will work but how is this any better than ...
1
vote
1answer
147 views
How to determine which version of a compiler is installed?
I have the gfortran, but I have been told that gfortran versions 4.2 and older lacked some f90 functionality. How do I determine which version is already installed? Also, can I install the latest ...
2
votes
2answers
1k views
PHP compiler/interpreter
How to install PHP Compiler/Interpreter on ubuntu 11.04
I have latest version of PHP, but I want to learn PHP from terminal. Is there a PHP interpreter available that will run PHP programs inside ...
2
votes
5answers
584 views
How can I run Turbo C++?
How can I use Windows apps like Turbo C++ on Ubuntu? Wine says "not applicable on your PC", or something like that.
I need to specifically use Turbo C++ on Ubuntu for my coursework.
4
votes
1answer
2k views
How do I install Clang Version 3 in 10.10?
How would I go about installing version 3 of Clang/LLVM in Ubuntu 10.10? Ubuntu 10.10 installs version 2.8 by default. Version 3 has more extensive/up to date support for C++ and possibly C (I am not ...
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
4answers
10k 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
953 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: ...
5
votes
1answer
1k views
How to install Open64 Compiler?
Open64 is the compiler maintained by AMD, here are the links: http://developer.amd.com/tools/cpu-development/x86-open64-compiler-suite/ and the Community Maintained one http://www.open64.net/home.html
...
0
votes
3answers
640 views
“HtmlConverter doesn't exist.” error when installing Sun Java 6 [closed]
I'm new to Ubuntu and Java. How do I correct this?
freestyler@freestyler-HP-ProBook-4420s:~$ sudo apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree
Reading ...
5
votes
1answer
905 views
compiling Objective-c programs on Ubuntu and a good IDE for the same?
I am trying my hands on Objective-c and I want to know that how can I compile the programs in Ubuntu. Can I do it with GCC or something else is required?
And Also please tell me some good IDE/Editor ...
2
votes
1answer
2k views
Less CSS compiler install
I wanted to install less compiler to my computer but when I ran following command:
sudo gem install less
And make command stopped the following error:
g++ -shared -o v8.so v8_locker.o v8_debug.o ...
3
votes
4answers
18k views
Can't execute .out files, getting permission denied
I have written a C++ program and complied it to produce a.out file. However, whenever I try to run it, I get Permission Denied. I read that we can use sudo, but I can't quite get it to work. I use ...

