From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::341; helo=mail-wm1-x341.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 07E8E21B02822 for ; Tue, 6 Nov 2018 04:17:22 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id 124-v6so6254184wmw.0 for ; Tue, 06 Nov 2018 04:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0QVSha8+5VVnJmkKKXfyTraUkSr9qfvGflPe359RJUw=; b=NQwMXBOuf7D9ZPRP91kcaZhHVN2WWEukum8LuVVL0XNabyIyoFJ5RDnnZew4dOMtTb 0Rv9wX5agyDVamQCV9KYOJUvm0vhmnGtihygLNndQZxCa90PqRam/X5do9i8/QsTSqg8 m5WDjI3DSNEahukJUSXm3BIto816DXYQGQYpM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0QVSha8+5VVnJmkKKXfyTraUkSr9qfvGflPe359RJUw=; b=PfkUEj7Id4l7iFq9Fy5F6LDRVtN7LMtKod9mUTjojM54V7fHaSp9rr31VzQRVNumI8 Wpu04e/1vTDn6n9L7nAxJaunlKyMAqPoQ68iZjxQQRHGX/x5TCpfQEWZE0hjDzAV/PIo uh9nyKUkh7+FvXY2UBfmcw3xz1re9lYiuxvrp3pAWdJwPrHTnrgFAhac/t6F/tePxi2M AQ5GztOIkuqUK8NMU0LjfhdW2MtPPUG9ndfBpy7riv0oG3g0u/2kOpJFtVFoPzC5UlDc rmilQIs8jz9YX3r+vF5vebPaVWJCrbE32Ag8nqf0g0MwP9d1lwbG6V4TH34CO8MmatrQ gWxg== X-Gm-Message-State: AGRZ1gK78KlzZIItRBMCdCle5pnj1YlEDMgrMHZuGLpSMjVxjBFElpt4 iCBp1sxYAoe4x0Mltkag91hezax3J0A= X-Google-Smtp-Source: AJdET5c0CzzORhhbSUrT0XNd62SJBmU22YosiBHF1pdG8g44PvKxG/yoqw2CDXsMcD72nVUDYjDIGQ== X-Received: by 2002:a1c:9089:: with SMTP id s131-v6mr1912933wmd.66.1541506641104; Tue, 06 Nov 2018 04:17:21 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id p16-v6sm21294252wro.29.2018.11.06.04.17.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Nov 2018 04:17:20 -0800 (PST) Date: Tue, 6 Nov 2018 12:17:18 +0000 From: Leif Lindholm To: Prem Kumar Cc: edk2-devel@lists.01.org Message-ID: <20181106121718.yzyrvm34g5fensx2@bivouac.eciton.net> References: MIME-Version: 1.0 In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: How to build EDK2 project for ARM using LLVM tool chain X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 12:17:23 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Prem, On Sat, Nov 03, 2018 at 02:11:32PM +0530, Prem Kumar wrote: > Hi All, > Kindly provide your comments to build EDK2 project for ARM AARCH64/ARM > using LLVM tools chain under Windows environment. > > I've below tools, > - Visual Studio 2015 Visual Studio 2015 does not support AARCH64 (and possibly not ARM). You need at least VS 2017 version 15.4. (This does not mean that all versions of VS 2018 will work.) Since this has not been a common way of building for ARM/AARCH64 in the past, there are some aspects of the tree that may not build cleanly (and some .asm files that are missing for AARCH64). > - LLVM 4.0 For LLVM on the whole, I would recommend building under WSL (Windows Subsystem for Linux) rather than going down a more Windows-specific route (of which I'm only aware of cygwin). For building under WSL, you can follow the instructions at https://github.com/tianocore/edk2-platforms#how-to-build-linux-environment Regards, Leif > Any pointer is helpful to proceed further. > > Note: > I'm able to build EDK2 project(Nt32Pkg) using Visual studio under Windows > environment. > > > -- > Thanks, > Prem. > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel