From owner-freebsd-current@freebsd.org Fri Aug 10 23:32:41 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 2081510786AF for ; Fri, 10 Aug 2018 23:32:41 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from mx36-out24.antispamcloud.com (mx36-out24.antispamcloud.com [209.126.121.72]) (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 9882A80DB3 for ; Fri, 10 Aug 2018 23:32:40 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from [153.92.8.106] (helo=srv31.niagahoster.com) by mx65.antispamcloud.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1foGsV-0004YD-C5; Sat, 11 Aug 2018 01:32:30 +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=jivydleQ6XaLOH9GDejniyMo3gb9mCK6XSBf2ZLwKN0=; b=DqMSJxwWLgglSVVFqwchKneOdT 22CSKms3q/QR0CZ7MEt+dQiJexjoJLTp+k6MbiIhA7UB+Eq8SC4FHLVMtmPIUEXpdD6hPXabGcfnU FvxVZpnywGuat+vadrplE2EKSnc6PgYJdwL9jxoxQXaNP9BkN41WitdOns5lYJQ4Qsn+41837fmJX hF2onKMkqiPX5bOGIflHa0+8G4f47Y/eXbOMXjMpyG7NAXi7+D2xU3SGuSspkpOPlvnuxclK3Op2W sYdYXmUbNa6zoMOXu6b3OZSm8fcGo7wNFxz6ojwQdditaJpYHy8d7l6O4zKPY8mSz66qiltGf+RLs 5QQ5v+jQ==; Received: from [182.1.80.97] (port=59041 helo=X220.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1foGre-0002QA-8B; Sat, 11 Aug 2018 06:30:43 +0700 Date: Sat, 11 Aug 2018 07:30:36 +0800 From: Erich Dollansky To: Warner Losh Cc: blubee blubeeme , FreeBSD current Subject: Re: #includes and #defined Message-ID: <20180811073036.0971575d.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: <20180810082813.3a165d2b.freebsd.ed.lists@sumeritec.com> <20180810135149.6a95b233.freebsd.ed.lists@sumeritec.com> 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.17) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5iRgBiJRO95HOijhGD2+Z5l602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO6fj7HjllMACak6ejrMzThSHCitzzOuLWTgf1lwNeomP093CatOt8d4F3UsEkh73LMtx ajfhYFFhbDwIHqdBEAnorZyXsjnC0NV1vPwx87+nmOZRyQ4cxMl8FcnWJGW+7IKfehkVKEa4ZVzO +ecxC7LT1j55cw6Nba488h/Ddb1qBUQFPOlPKtKys1PDHAm3U5FVgpT1b21uZVckGp0ccOZ827Xd KAlsW7AXSgsJHAL/pbbM2qITeiregZb1LJ6NXjEk9r12hXsEhbDpRqAF4h4qaanN+2FUERIEGc1m BpcAqIyJHIWsqTEqNVpIlqPSZkzcAYNMzOgeKGn39T+7EFfN7KHQl3eg3qrfFG24mhAb88ct6p/v nUAzRGhtYY2mG+PFqNYxd2k3uDn/qKd1XmpnZkmoKaCddu+7NlVDxhSmpOQ1oTk82JAlDtsjnfnd WSCeMD2XEVnP8fAdA6vIg9dlcoV1OF8qQ/6ovBhZQFiGlFPRl5S++pld5/UDMo7P5UHQntHJcCRH Et8r6aB3X62tI4g+l6rCWbY0MZcgnbHsw+ko/eUwajtWGP/gSsiOcQVg+7wmbb1aDd7FSIn0IrSW gCD82q+N4fV/b7Pd5CUeOKeGBqJC/Fp3dFxwb7L+s+/DFun/LxGYCtPus/XJx1UTKgAQriuw1aTi a+0Fz1FRys3S5ocdau1oJpRqCawECLNnIJ9sMA0EePED7e76wKohYrSyETb14Qubkx5fiwDmskyb C0n725VjlDC8FJ+dtq4PwloF/syIo2j7WIsoxXv1H/aAwarQpYDOYx/6JtUOxqS0YSNESOWUbAK5 AaeBzbXVepRDkgb9IRWAnV0Ais4Jk87YYo1loy2N/IChu1wy8AUy9furwzjHps/+CPPDQ6NN0Zx+ /HkiiPJR1qRtjc42bOmu8njnSctsfSCG8zIeVnachHJ3iHofMZx3h6MDzjEvuGslKTrRIXcXpFg5 ivY= 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 23:32:41 -0000 Hi, On Fri, 10 Aug 2018 07:53:19 -0600 Warner Losh wrote: > On Thu, Aug 9, 2018 at 11:51 PM, Erich Dollansky < > freebsd.ed.lists@sumeritec.com> wrote: > > > On Fri, 10 Aug 2018 12:40:48 +0800 > > blubee blubeeme wrote: > > > > > > > > What about the architecture name is it recommended to use x86_64 > > > or amd64? > > > > my clang reports on an Intel CPU: > > > > #define __amd64 1 > > #define __amd64__ 1 > > #define __x86_64 1 > > #define __x86_64__ 1 > > > > as defined. > > > > It reports > > > > #define __aarch64__ 1 > > > > on an 64 bit ARM CPU. > > > > 'man 7 arch' will tell you these things: better late than never. I still trust a compiler more than the documentation. Erich