From owner-freebsd-current@freebsd.org Fri Aug 10 04:41:01 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 E8BFD105B27B for ; Fri, 10 Aug 2018 04:41:00 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2174C783DA for ; Fri, 10 Aug 2018 04:41:00 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x229.google.com with SMTP id s7-v6so1045274itb.4 for ; Thu, 09 Aug 2018 21:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/75GLe3XTwmKU6dDSKLZmGttjxBWKVkIBOMRkWLrReE=; b=Y6ibHe2qxlIn9xzsTksHaCaI88WpfXvxH3EmxLnfod29q+SEKwe8lxUyNvjyCB73wL 4MgZ8LpPJf+qbGDQfhZzizSpZnTFTbw4jU5jPbQ68byTDJJ3EyaytNW5NhmcIv0ome7U wqrhHtW1p+WSdKQHe25o3rkm3GIsgbgGqZDqMBuzVufOOJncWvqYuk0IfoYWPvZfr4Fm r9ckDsjkHYQ+g0wz2MEwdG0ZPNZNDlEs8wu40jwPuxDHsv9MGyQUBkKbkaXh0Ep0FpmU MscjVQ29Nhfp+OW1CbrgtRFoOV94bARvb7LjcYA54kYxAP2m4aC5N6vkT+hzepGHsL8E aGTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/75GLe3XTwmKU6dDSKLZmGttjxBWKVkIBOMRkWLrReE=; b=MD/e0vSrisD13YchcYp6yOd79OTzzWPRjpBoNN0rYpTC4MvcCn1eA4ih77ON6Or2CV TjAANmqD+M4LnosdH1AfkZGsb72ZX068yxKYNwIIreCExGwZ6ioCIoO6rOFNrIKIKcqn r3nXspjuUQDnMsJg/lIvnmvfuk4t3gzESxmKEoSWTsWDwrddXUJ5bZeWjxqJ6CIiAkqe GZdJJ0cg1Zwme9TyyrwR/3IwcEPd2cBgsCCBa08R/BPJk6/M52Q/TJVtAe9lhRVNBwx1 Z5hUk5s9UTBNoAF0bPDUQzjzfuJHtOol0PF0B8RjVB2BYKXQYFVzkprH8zoc9ZAiC1bS KOFw== X-Gm-Message-State: AOUpUlGeQsfFIxavHbrZoup1OL62s1gHU9UEFhvQlUGEKwneQMOA3o2E v4Qcb0qjdVZY91Mk3IiJ8zir148g2qQdCY7ZNpGGxCjl X-Google-Smtp-Source: AA+uWPwUk59OSKllDl+L6EjCh3Am3vb7Zl+3HYQPviDsTOJswb0e9WeHWK5pshn04fdlJ/w9L9MEOGm1ctSdYu0MO5s= X-Received: by 2002:a24:4ecb:: with SMTP id r194-v6mr870500ita.39.1533876059443; Thu, 09 Aug 2018 21:40:59 -0700 (PDT) MIME-Version: 1.0 References: <20180810082813.3a165d2b.freebsd.ed.lists@sumeritec.com> In-Reply-To: <20180810082813.3a165d2b.freebsd.ed.lists@sumeritec.com> From: blubee blubeeme Date: Fri, 10 Aug 2018 12:40:48 +0800 Message-ID: Subject: Re: #includes and #defined To: freebsd.ed.lists@sumeritec.com Cc: FreeBSD current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 04:41:01 -0000 On Fri, Aug 10, 2018 at 8:28 AM Erich Dollansky < freebsd.ed.lists@sumeritec.com> wrote: > 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 > What about the architecture name is it recommended to use x86_64 or amd64? Best, Owen