From owner-freebsd-current@freebsd.org Fri Apr 6 00:15:16 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 494E5F8DF33 for ; Fri, 6 Apr 2018 00:15:16 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D01E778D98; Fri, 6 Apr 2018 00:15:15 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id w360FE61043849 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 5 Apr 2018 17:15:14 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id w360FEaA043848; Thu, 5 Apr 2018 17:15:14 -0700 (PDT) (envelope-from sgk) Date: Thu, 5 Apr 2018 17:15:14 -0700 From: Steve Kargl To: Conrad Meyer Cc: freebsd-current Subject: Re: clang manual page? Message-ID: <20180406001514.GA43793@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20180405223852.GA43120@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2018 00:15:16 -0000 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= OpenCL language standard to compile for. -std= Language standard to compile for -stdlib= C++ standard library to use Does == ? -- 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 > wrote: > > Is anyone working on fixing the clang manual to actually > > document the available options? > > > > % man clang > > (search for -std=) > > -std= > > Specify the language standard to compile for. > > > > OK, what does 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