About compiler

Pages: 12
Thanks @keskiverto, I run the command you suggest
 man g++
got a sort of error;
'man' is not recognized as and internal or external command, operable program or batch file


I am using here the cmd.exe
man isn't for MS - only Linux

Try g++ --help
Thanks @seeplus, got and error using that too. I guess I do not have the manual?

The Error::
c:/msys64/bin/../......................./ld.exe: cannot find help: collect2.exe: error: ld returned 1 exit status.


Note: I am using MS by the way, also I installed the msys64 distribution, only the minGW, no clang no others.
ninja01 wrote:
got and error using that too

Note that there are two dashes.

g++ --help

Though that won't show you as much information as the man pages.
Last edited on
honestly, the options should be the same for most of your programs, one set for debug, and one set for release.
save these somewhere and just use them over and over.
Thanks @it worked)

Thank you everyone else
Topic archived. No new replies allowed.
Pages: 12