About compiler

Pages: 12
Oct 2, 2022 at 11:20am
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
Oct 2, 2022 at 11:25am
man isn't for MS - only Linux

Try g++ --help
Oct 2, 2022 at 11:34am
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.
Oct 2, 2022 at 1:13pm
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 Oct 2, 2022 at 1:20pm
Oct 2, 2022 at 1:24pm
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.
Oct 4, 2022 at 10:09am
Thanks @it worked)

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