Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2018 18:01:48 -0700
From:      Conrad Meyer <cem@freebsd.org>
To:        sgk@troutmask.apl.washington.edu
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: clang manual page?
Message-ID:  <CAG6CVpUh1e=TNs4QL9B8EFimQr8vej7hAaRREtrj3dsQ-A9WVg@mail.gmail.com>
In-Reply-To: <20180406005624.GB43998@troutmask.apl.washington.edu>
References:  <20180405223852.GA43120@troutmask.apl.washington.edu> <CAG6CVpUpj7B6ujUSCUkznCBKSGKcuM2czZ=VBgKK%2Bkm5wFwfmg@mail.gmail.com> <20180406001514.GA43793@troutmask.apl.washington.edu> <CAG6CVpWPWCut9fNaPUyQLx9%2B1FiSXgLw6mJXoj6%2BHOmfXWVE9w@mail.gmail.com> <20180406005624.GB43998@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
I think we're on the same page about the deficiency of system Clang's
manual page, if little else...

On Thu, Apr 5, 2018 at 5:56 PM, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> I never said that you said it was in base.  I'm noting that
> referring a user to a non-existent manual page is of little
> help.  In fact, your 7 word response is an affirmation that
> the tools supplied in base should be properly documented.
>
> --
> steve
>
>
>
> On Thu, Apr 05, 2018 at 05:42:58PM -0700, Conrad Meyer wrote:
>> I never said it was in base.
>>
>> On Thu, Apr 5, 2018 at 5:15 PM, Steve Kargl
>> <sgk@troutmask.apl.washington.edu> wrote:
>> > 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@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@freebsd.org mailing list
>> >> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> >> > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>> >
>> > --
>> > Steve
>> > 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
>> > 20161221 https://www.youtube.com/watch?v=IbCHE-hONow
>
> --
> Steve
> 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
> 20161221 https://www.youtube.com/watch?v=IbCHE-hONow



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpUh1e=TNs4QL9B8EFimQr8vej7hAaRREtrj3dsQ-A9WVg>