Date: Thu, 5 Apr 2018 17:42:58 -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: <CAG6CVpWPWCut9fNaPUyQLx9%2B1FiSXgLw6mJXoj6%2BHOmfXWVE9w@mail.gmail.com> In-Reply-To: <20180406001514.GA43793@troutmask.apl.washington.edu> References: <20180405223852.GA43120@troutmask.apl.washington.edu> <CAG6CVpUpj7B6ujUSCUkznCBKSGKcuM2czZ=VBgKK%2Bkm5wFwfmg@mail.gmail.com> <20180406001514.GA43793@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpWPWCut9fNaPUyQLx9%2B1FiSXgLw6mJXoj6%2BHOmfXWVE9w>