public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: Prem Kumar <perry.prem@gmail.com>
Cc: edk2-devel@lists.01.org
Subject: Re: How to build EDK2 project for ARM using LLVM tool chain
Date: Tue, 6 Nov 2018 12:17:18 +0000	[thread overview]
Message-ID: <20181106121718.yzyrvm34g5fensx2@bivouac.eciton.net> (raw)
In-Reply-To: <CAG+YCe33tzG9zYc8x1dz45SSQ1dngsN=OWO9HyLALMsH17kpRg@mail.gmail.com>

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


      reply	other threads:[~2018-11-06 12:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-03  8:41 How to build EDK2 project for ARM using LLVM tool chain Prem Kumar
2018-11-06 12:17 ` Leif Lindholm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181106121718.yzyrvm34g5fensx2@bivouac.eciton.net \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox