This assumes that a gcc(1) is available on the system. % man gcc No manual entry for gcc
If the system compiler is clang/clang++, then it ought to be documented better than it currently is. Ian's suggests for 'clang --help' is even worse % clang --help | grep -- -std -cl-std=<value> OpenCL language standard to compile for. -std=<value> Language standard to compile for -stdlib=<value> C++ standard library to use Does <value> == <language>? -- steve On Thu, Apr 05, 2018 at 04:37:38PM -0700, Conrad Meyer wrote: > To a first order approximation, the manual page for clang is gcc(1). > > Conrad > > On Thu, Apr 5, 2018 at 3:38 PM, Steve Kargl > <[email protected]> wrote: > > Is anyone working on fixing the clang manual to actually > > document the available options? > > > > % man clang > > (search for -std=) > > -std=<language> > > Specify the language standard to compile for. > > > > OK, what does <language> mean? > > > > -- > > Steve > > _______________________________________________ > > [email protected] mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "[email protected]" -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[email protected]"
