From owner-freebsd-current@freebsd.org Fri Apr 6 01:33:58 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 3552EF93B4C for ; Fri, 6 Apr 2018 01:33:58 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f54.google.com (mail-it0-f54.google.com [209.85.214.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA6397C552 for ; Fri, 6 Apr 2018 01:33:57 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f54.google.com with SMTP id t192-v6so3651129itc.1 for ; Thu, 05 Apr 2018 18:33:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=OygSN0hubDbpgLTOKIQquSer4hZp2EqcBuIeL9wzfO0=; b=LqHv15JA+dbbHSVRiu1WtquM1ktOlmgnMCie+5XoKlGwbNyNdqE8nZS40hqJEtrEk6 HvICiDrKwJ8OQ8foSZsEfI7yQzuZfNA4A2wQFq+oOcTHSdpiWExgtqk/hjwsTj78z+iT r1iJ/mkb7J4S2ZJgAxe8OvbJA2c73oItHlINjpepHoK7N7U+lVxpQa2CoQ/oAS0GOaUh rBQ65p1zSBgm6rz+j3X/aGbM3EG2sdSkTjo15GJio/k5Dm1L72yn7Uxl4yBKtc6KC65G asC/iAYYSqJIKDZNLJJnCny3OhWNUsRp0DNaCEnbRaMFbpiQeYpWRpgBCT1SmdARTLNh 88mA== X-Gm-Message-State: ALQs6tCaGD0WiaeIzcfl7zEDa9h0KDb+1RhPqMUJOgassC57ZCdEWAHJ A67dnus05XTvhPemrci7QpeWjMVV X-Google-Smtp-Source: AIpwx48vKplE+8aVphxl6xTWPUlwfPFBdoOXTk6ZVwFYAOvKUmgNu5d9AK1byNjM0LTbpDAo04D2RA== X-Received: by 2002:a24:94e:: with SMTP id 75-v6mr16139312itm.37.1522975379856; Thu, 05 Apr 2018 17:42:59 -0700 (PDT) Received: from mail-it0-f49.google.com (mail-it0-f49.google.com. [209.85.214.49]) by smtp.gmail.com with ESMTPSA id p68-v6sm4798847itc.13.2018.04.05.17.42.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 17:42:59 -0700 (PDT) Received: by mail-it0-f49.google.com with SMTP id 142-v6so4779718itl.5 for ; Thu, 05 Apr 2018 17:42:59 -0700 (PDT) X-Received: by 2002:a24:c101:: with SMTP id e1-v6mr15974016itg.46.1522975379312; Thu, 05 Apr 2018 17:42:59 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.2.62.19 with HTTP; Thu, 5 Apr 2018 17:42:58 -0700 (PDT) In-Reply-To: <20180406001514.GA43793@troutmask.apl.washington.edu> References: <20180405223852.GA43120@troutmask.apl.washington.edu> <20180406001514.GA43793@troutmask.apl.washington.edu> From: Conrad Meyer Date: Thu, 5 Apr 2018 17:42:58 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: clang manual page? To: sgk@troutmask.apl.washington.edu Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" 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 01:33:58 -0000 I never said it was in base. On Thu, Apr 5, 2018 at 5:15 PM, Steve Kargl 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= 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