Re: clang manual page?

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Thu, 5 Apr 2018 17:15:14 -0700
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
> <sgk_at_troutmask.apl.washington.edu> 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
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
Received on Thu Apr 05 2018 - 22:15:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC