From owner-freebsd-current@freebsd.org Fri Aug 10 00:28:28 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 EA2C51052827 for ; Fri, 10 Aug 2018 00:28:27 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from mx6-out9.antispamcloud.com (mx6-out9.antispamcloud.com [95.211.2.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4ACFF8F704 for ; Fri, 10 Aug 2018 00:28:27 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx114.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fnvI0-000yeS-9F; Fri, 10 Aug 2018 02:28:25 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9ganL7zoU7rKGSaSigX+eRRvqu+J89bqbCJMo2FKs1I=; b=Zq97btmWGb6NmorQFW6vRe3LyU AY7wnOdRCottFINaenChc8slAMFIkgt9xX1uZD+Pp0eqHzPu9yd5gOaVL95IMr39zMwpzB2uyM+YD HfOVeEiTAh6iTP7z+cTyyOI5fSe3geyufEdfYkrWAeMsQtweU4i9c/0fjLEYpl2IttXD3KMVWWNav kuoNsLvU3qbnIuw9ZC6weJMM1BWLmcr4bIiDHJaJ7SPzfMg4YMD5QpvrpxmABjUZW7L84AgxJ7lEh Qp1CoFTY11SI6r0QdWUx7EUoURiFmU4jY7gViq7CM/G98bbJq3CoOxATUej0zM9RB1VwAnuL6lLJ7 7dXOF1Bg==; Received: from [114.125.109.168] (port=25908 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fnvHr-0008Bv-JW; Fri, 10 Aug 2018 07:28:19 +0700 Date: Fri, 10 Aug 2018 08:28:13 +0800 From: Erich Dollansky To: blubee blubeeme Cc: FreeBSD current Subject: Re: #includes and #defined Message-ID: <20180810082813.3a165d2b.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-AntiSpamCloud-Domain: out.niagahoster.com X-AntiSpamCloud-Username: niaga Authentication-Results: antispamcloud.com; auth=pass (login) smtp.auth=niaga@out.niagahoster.com X-AntiSpamCloud-Outgoing-Class: unsure X-AntiSpamCloud-Outgoing-Evidence: Combined (0.18) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5oN8BT2ZHYAAj4QLcT268+9602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO5ps25p6HgaX1Di+cGj2jFIpYXV/tm1OBh+UB9U/PQdSLxCwBER673e6KlCxPNFmHdWZ i5bIIYa9S0h67ZH5SXuaB1jmwwbRmuJ9Tgq9wWP84pWx7WxWFZpsjT/483ewgu5JfusABNhIyJPP 5Nt4ch80+cJw8QXA67hvs+2Go8qsbyg5b/5enMN0gr7TFQpFuQiazNGK/WiZYceLc1nhihuaQebm 3pqKNOl0OM7NID/zhjH+s7IyGgYI2/48DdYq5nuEOX5X+aI07tQv+JNpJZkn7bB5bp6MFPZxaDQ+ O9lvv0hnML1BX+vWNRARolTDlD3ez4CdtXaPw7D+FGO9tGn+Yn2IUbTte+q+Nq1AtJsqX0ap+5DR uAeZYsoDEfVfSbwqyT5p50x81ZKcmzCu2U34gLU00gcBQyydDZ+JHHf+eGS2NlHalU3pouehsm1G Um4pV/hLCLtIwPJ9XBizpkcefJXHc74ik7YBZhdPEu8BxTT4PI1vyiozin+Q9Z44jwEiRQv+PVjj wa+Z5RFCOMT7wWCQ1bNVxVHMt1HKpEkC6cEXvK/BgUEHgwW/MZNvTkj0gKD7gW05RXS8TLeHxerk THl2MyGY0g4EPKrGGPcIqI55MrZJAeuOgqbsT278k9M+m4WpRRDP6YzwkAPgQJbhYIzzJKPb5AA9 rbAyROiPoSzxOvyA3JjohxEbjy/0MHEkKS7ecIaS8+j93vTfuGo8HjHE4XowVmxPEskZcIJc3Nn9 PJ+tC4n94VorMLsMukCh2Oh/sEgqFb8L6rsww4ilHA16mjJ0S2N6v15623GuSiDOyEFZb8CoRrRZ 3jElG05zNiv/Yigg/b+fPZ1Ut4VknRDjH7QY7Fm+gQ0M40rB1CKJk5ycE+JMum+xOx7pLVwauRl0 0c2JfGr7eI0UochUrJAQYkYN62ig/GoB/tGf X-Report-Abuse-To: spam@quarantine1.antispamcloud.com X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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, 10 Aug 2018 00:28:28 -0000 Hi, On Fri, 10 Aug 2018 08:01:42 +0800 blubee blubeeme wrote: > What's the proper way to define and include FreeBSD amd64 in GNU > Makefiles > > Do we define FreeBSD as x86_64 or amd64 also is it __FreeBSD__, > FreeBSD__, or __FreeBSD > > I've seen all of the above looking through different projects. clang defines '__FreeBSD__' Erich