All Questions
7
questions
0
votes
1
answer
1k
views
How to compile text file to exe file with G++
I have c++ code saved in .txt file. Can i somehow format it with g++ compiler or i\ must change it to file.cpp?
Is there why how to compile a .txt file with g++?
Thanks for answare.
0
votes
1
answer
149
views
Can g++ compilers be used to build linux software on macos?
On windows I am able to develop for linux using WSL2. I ususally use CLion which allows me to switch between msvc and g++ with a flip of a switch. Is it possible to do the same thing on Mac? If so, ...
3
votes
2
answers
2k
views
compilation on cygwin64 doesn't work with g++ 4.9.2
I have
GNU make version 4.0
g++/gcc version 4.9.2
Command make clean works perfectly
But when I use command make to compile
I got this error
C:/cygwin64/lib/gcc/x86_64-pc-cygwin/4.9.2/cc1plus.exe:...
0
votes
1
answer
760
views
Compile C++ 11 on Damn Small Linux?
DSL does not include any compiler (aside from a very basic ANSI C compiler), so I need to install g++ on it. Unfortunately the only gcc/g++ I could find for DSL linux is a version from 2006 (here).
...
15
votes
2
answers
7k
views
Python ./configure does not find g++ compiler
I'm trying to compile Python 3.4.1 on an emulated ARM machine (with Debian 7). ./configure gives me
checking for g++... no
but g++ is installed. So what could be the problem?
I know it's not ...
2
votes
2
answers
8k
views
alias gcc='gcc -fpermissive' or modifying ./configure script
I am compiling quite big project from source. The compilation always ends with:
error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
I have already compiled this project one year ...
0
votes
1
answer
1k
views
G++ Compile and Run Without Output
This is just a convenience thing. Is there a way to use C++ sort of like an interpreted language, only in the sense that you could compile and run it without outputting a binary file. This is of ...