imbushuo / NintendoSwitchPkg

WIP UEFI EDK2 Implementation for Nintendo Switch or generic Tegra210 platforms
GNU General Public License v2.0
267 stars 20 forks source link

GCC not found #21

Closed OfficiallyMelon closed 2 years ago

OfficiallyMelon commented 2 years ago

I have gcc installed in /opt/ in ubuntu 20.04 WSL error:

WARNING: GCC not found, fallback to /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-elf/bin/aarch64-elf- prefix. WARNING: GCC not found, fallback to /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-elf/bin/aarch64-elf- prefix. .: The term '/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-elf/bin/aarch64-elf-gcc' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Test-GnuAarch64CrossCollectionVersionRequirements: /home/root1/edk2/NintendoSwitchPkg/Tools/edk2-build.ps1:34 Line | 34 | if ($false -eq (Test-GnuAarch64CrossCollectionVersionRequirements)) { | ~~~~~~~~~~~~~ | GCC AArch64 toolchain is malfunctioned

WARNING: Failed to check GCC version, build may fail! Use GCC at /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-elf/bin/aarch64-elf- to run builds. Stamp build. Build NintendoSwitchPkg for NintendoSwitch (DEBUG). Build environment: Linux-4.4.0-19041-Microsoft-x86_64-with-Ubuntu-20.04-focal Build start time: 21:24:34, Feb.13 2022

WORKSPACE = /home/root1/edk2 EDK_TOOLS_PATH = /home/root1/edk2/BaseTools CONF_PATH = /home/root1/edk2/Conf

Architecture(s) = AARCH64

Processing meta-data .Build target = DEBUG Toolchain = GCC5

Active Platform = /home/root1/edk2/NintendoSwitchPkg/NintendoSwitch.dsc ...

OfficiallyMelon commented 2 years ago

Any help would be helpful (👍