All Questions
9
questions
0
votes
1
answer
947
views
What is a purple file from the LS command?
I am working on a c++ project and had a failed compilation (normal kind of errors). When I ran ls (a bit of a habit), it showed a file with a seemingly random sequence of characters:
'!4'$'\377\377\...
0
votes
1
answer
160
views
R g++ error installing survey package
i get a non-zero exit status by installing the survey-package in R version 3.5.2 on ubuntu 18.04. the problem seems to be related to g++ and the package minqa. in the output of the installation ...
3
votes
2
answers
3k
views
How do I compile FFMPEG & Libaom without PIE
I am trying to compile FFMPEG and Libaom from source apparently because the gcc and g++ compilers in Ubuntu 18.04 by default has enabled the following option by default: --enable-default-pie
$ gcc -v
...
0
votes
1
answer
542
views
What is the windows cmd command equivalent to ubuntu command timeout 5s a.exe < input.txt
I am developing an online judge for my university. I need to timeout every program after 5 seconds for measuring time limit. my input is input.txt file and i am compiling and getting output in ubuntu ...
8
votes
2
answers
26k
views
Install GCC / G++ Version 4.9 in Linux Mint
I always like to have the latest version of things, particularly if that thing is gcc, g++ and there has recently been a revision to the c++ standard.
I have forgotten what ppa's I need to add to my ...
1
vote
2
answers
2k
views
downgrade gcc/g++ after upgrading; compiler error
I just upgraded gcc/g++ from 4.4 to 4.8 (via this method How can I update gcc to the latest version in Ubuntu 10.04?). I realized that 4.8 is going to break a lot of my code and now I want to roll ...
2
votes
2
answers
4k
views
Add a permanent compiler option to g++
I am using a g++ 4.7 on Ubuntu 12.04 to compile my c++ code, and it won't be compiled unless an -std=gnu++11 option is added to my command like this:
g++ -std=gnu++11 main.cpp
Is there a way to add ...
0
votes
1
answer
288
views
Unable to install software on Ubuntu 8.04
I have recently installed 8.04 Ubuntu onto an industrial board and applied the vendor kernel modifications to it. I need to develop applications on another desktop to run on this board in C++ but I am ...
1
vote
3
answers
10k
views
Cannot install g++ on ubuntu
I don't have g++:
erelsgl@ubuntu:/etc/apt$ which g++
erelsgl@ubuntu:/etc/apt$
erelsgl@ubuntu:/etc/apt$ g++
The program 'g++' can be found in the following packages:
* g++
* pentium-builder
Try: ...