Date: Thu, 5 Apr 2018 17:15:14 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Conrad Meyer <cem@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: clang manual page? Message-ID: <20180406001514.GA43793@troutmask.apl.washington.edu> In-Reply-To: <CAG6CVpUpj7B6ujUSCUkznCBKSGKcuM2czZ=VBgKK%2Bkm5wFwfmg@mail.gmail.com> References: <20180405223852.GA43120@troutmask.apl.washington.edu> <CAG6CVpUpj7B6ujUSCUkznCBKSGKcuM2czZ=VBgKK%2Bkm5wFwfmg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?20180406001514.GA43793>