From owner-freebsd-questions@freebsd.org Tue Oct 10 23:00:18 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3ADEEE3F78A for ; Tue, 10 Oct 2017 23:00:18 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (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 F113170417 for ; Tue, 10 Oct 2017 23:00:17 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-vk0-x229.google.com with SMTP id q190so35978vkd.13 for ; Tue, 10 Oct 2017 16:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rr8gnIZUsTz/FsXlTJSc7MM0jGfwudeXO9UIg6CRmRo=; b=Xshizoj7vUisCU4OCIw5Q76AXE5iG5AXzKFCjWH9zGKVlnyjEO6TQpXkTGblRYMm/s 2TPtXYwMJBevK2TaxuhS+Q+i5c5G1l9uIWIfciYKviEgfikJZwJmj0gAxuMkPEsvuo32 jysvDS9ttpLqPCrC4I28tTJ/+SR3Pf999JTUQRCg6YuLT6ghJHex64Glq6G//ojWZTDj WxUtpDhVLMP7nZn/jzM0FeBI1RM/7qyUP7VgtMsStiolzm7WSD9fuYfHLcqzeKLFCc4Q db+eYwhsDgdk/AJoRIJ8AI3vL4Ity5S6jl+nuGWLMXbqXEAIK5bjZf5zM9JolWxu/mJQ K77Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rr8gnIZUsTz/FsXlTJSc7MM0jGfwudeXO9UIg6CRmRo=; b=jXi8CCHg77XM+dRHCeCIwwSXximVBmcr8Z+agngnlqk/xzo+ENXgru9pGE6JKXc+J1 42Db1NjG79cHHt4xaejcujdTCGaVFHMUwuiT/KukB3viQcAaP8oTsWO+d7D4Ix3thJDb 7agGWn/BZ/P4uF9dkjR/cQUSPcdUatTuzEgm6Ld1dQ+SpR89TqdV+ARgWkl/qNFRRE4r h2+k+60Qp8cQwdSEWpduf8OJw4PhNt4So9e3fYEDYhdgzPp5z+DdSIDxE82+0HiXHTqm ViGm8YZIAiWiRUhUbAjdMayqFe7e9ZsRO/TMh8NABcEwAP7nbHGsyCdRpNBleLdQqoc7 7OsA== X-Gm-Message-State: AMCzsaXkV4bd9h+2DCNC72H2hqC8W4/rsl0EFwIaeQ0t9WRqyW5LTPaK R8l8QyRPQW5RoIT3CNKnXL9mgyPX4C85fj0l5VA= X-Google-Smtp-Source: AOwi7QBFG8Y8zqoEoCj3ALQdLcbKe2jXVx93oVEPLBLX4vzkSkuXLbW2Q0b0qQFw0+c0iYNT4af5rmvIHUKm8+Ek78I= X-Received: by 10.31.33.3 with SMTP id h3mr6532763vkh.125.1507676416662; Tue, 10 Oct 2017 16:00:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.1.243 with HTTP; Tue, 10 Oct 2017 16:00:16 -0700 (PDT) From: Antonio Olivares Date: Tue, 10 Oct 2017 18:00:16 -0500 Message-ID: Subject: Clang equivalents to gcc options To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2017 23:00:18 -0000 Dear FreeBSD users, I kindly ask for equivalent options when compiling c programs. I was able to find an equivalent clang for $ c++ -o prog prog.cpp $ clang++ -o prog prog.cpp Will do the job, but for say $ gcc -o What would the equivalent clang expression be? Thanks in advance, Antonio