Skip to main content

All Questions

Tagged with
1 vote
2 answers
169 views

Portable name of C++ compiler (and linker)

cc is the POSIX name of the C compiler. Is there a general name of the C++ compiler (and linker). Notice that g++ also adds some libraries, that will not be included when using plain gcc or ld.
user877329's user avatar
-4 votes
1 answer
979 views

How can I name the output of a compiled source file in a certain way?

In terminal, I have compiled a source file named "file.C". I did this by typing g++ file.C -o file. Now, I'd like to know how can I use Unix commands to name the output as "helloworld....
userh16xx0's user avatar