Thanks! That was the step I was missing - I was still running edksetup.bat instead of Edk2ToolsBuild.py. -- Rebecca Cran On 12/30/22 00:07, Sean Brogan wrote: > Rebecca, > > I don't see detailed instructions for how to build the base tools in > the new wiki pages. But if you use the python /pytool method then a > path file is generated and Stuart will set the path correctly. > > This file should be used to build the base tools > https://github.com/tianocore/edk2/blob/master/BaseTools/Edk2ToolsBuild.py > > You can read a little more about the feature here. > https://www.tianocore.org/edk2-pytool-extensions/features/sde/#path_env-descriptors > > Thanks > Sean > > > ------------------------------------------------------------------------ > *From:* devel@edk2.groups.io on behalf of > Michael D Kinney > *Sent:* Thursday, December 29, 2022 9:22 AM > *To:* devel@edk2.groups.io ; rebecca@bsdio.com > ; Kubacki, Michael > *Cc:* Kinney, Michael D > *Subject:* Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - > suggested changes/additions > +Michael Kubacki > > > -----Original Message----- > > From: Rebecca Cran > > Sent: Wednesday, December 28, 2022 7:47 PM > > To: Kinney, Michael D ; devel@edk2.groups.io > > Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - > suggested changes/additions > > > > I also found a problem on Windows. It seems that BaseTools\Bin\Win32 > > isn't added to %PATH% unless you run edksetup.bat - or, if you're using > > PowerShell, you can run: > > > > > > $Env:PATH = > > "$pwd\BaseTools\Bin\Win32$([System.IO.Path]::PathSeparator)$Env:PATH" > > > > > > -- > > Rebecca Cran > > > > > > On 12/24/22 10:37, Rebecca Cran wrote: > > > Mike, > > > > > > > > > I tried following the "How to build with Stuart" document and ran into > > > a some issues on my Ubuntu 20.04 system: > > > > > > > > > First, we now need to use "python3.9" on Ubuntu 20.04 since "python3" > > > is 3.8 which no longer works. > > > > > > > > > Secondly, the loongarch64 gcc download is 930MB - 3.2GB once unpacked. > > > We might want to add something about specifying "-a LOONGARCH64" etc. > > > if you want to build it, or '-a X64,AARCH64' etc. if you want to skip > > > it. I ended up canceling "stuart_update" because I thought it had > hung. > > > > > > > > > Lastly, the "stuart_update" command listed doesn't work: it seems you > > > need to specify a TOOL_CHAIN_TAG to have it download anything. > > > > > > > > > > >