Git Product home page Git Product logo

Comments (5)

borntohonk avatar borntohonk commented on July 20, 2024 1

In the latest version, compiling the program becomes difficult, probably because you modify things like dependencies, etc., are there specific compilation steps and guidelines?

Building build/hekate/start.o
bash: line 1: arm-none-eabi-gcc: command not found
make: *** [Makefile:154: build/hekate/start.o] Error 127```

error like this...

Actually the arm-none-eabi-gcc I have configured correctly so I don't understand what else is missing

dependencies has not changed, latest commit compiles just fine, nothing has changed.

Debian GNU/Linux 12 (bookworm)

gcc-12-base/stable,now 12.2.0-14 amd64 [installed]
gcc-12/stable,now 12.2.0-14 amd64 [installed,automatic]
gcc-arm-none-eabi/stable,now 15:12.2.rel1-1 amd64 [installed]
gcc/stable,now 4:12.2.0-3 amd64 [installed]

arm-none-eabi-gcc (15:12.2.rel1-1) 12.2.1 20221205
  • switch-dev from devkitpro repositories, you can add those to msys internal pacman.

(pacman -S switch-dev devkitarm-crtls devkitarm-rules devkitARM-gdb devkitARM)

https://devkitpro.org/wiki/devkitPro_pacman#Customising_Existing_Pacman_Install

/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/14.1.0/../../../../arm-none-eabi/bin/ld: warning: ../build/nyx/nyx.elf has a LOAD segment with RWX permissions
Nyx was built with the following flags:\nCFLAGS:  -march=armv4t -mtune=arm7tdmi -mthumb-interwork -O2 -g -gdwarf-4 -nostdlib -ffunction-sections -fdata-sections -fomit-frame-pointer -std=gnu11 -Wall -Wsign-compare -Wno-array-bounds -Wno-stringop-overread -Wno-stringop-overflow -DNYX_LOAD_ADDR=0x81000000 -DNYX_MAGIC=0x43544347 -DNYX_VER_MJ=1 -DNYX_VER_MN=6 -DNYX_VER_HF=2 -DNYX_RESERVED=0 -DBDK_MC_ENABLE_AHB_REDIRECT -DBDK_MINERVA_CFG_FROM_RAM -DBDK_HW_EXTRA_DEINIT -DBDK_SDMMC_EXTRA_PRINT -DGFX_INC="../nyx/nyx_gui/gfx/gfx.h" -DFFCFG_INC="../nyx/nyx_gui/libs/fatfs/ffconf.h"\nLDFLAGS: -march=armv4t -mtune=arm7tdmi -mthumb-interwork -nostartfiles -lgcc -Wl,--nmagic,--gc-sections -Xlinker --defsym=NYX_LOAD_ADDR=0x81000000
arm-none-eabi-objcopy -S -O binary ../build/nyx/nyx.elf ./../output/nyx.bin
--------------------------------------
Nyx size:     443300 Bytes
--------------------------------------
arm-none-eabi-objcopy -S -O binary build/hekate/hekate.elf output/hekate.bin
mv output/hekate.bin output/hekate_unc.bin
arm-none-eabi-objcopy -S -O binary ../build/loader/loader.elf ../output/hekate.bin
--------------------------------------
Uncompr size: 134472 Bytes
Uncompr Max:  140288 Bytes + 3 KiB BSS
Payload size: 110210 Bytes
Payload Max:  126296 Bytes

from hekate.

ZeldaPken avatar ZeldaPken commented on July 20, 2024

I used windowX64 and Msys2

from hekate.

urherenow avatar urherenow commented on July 20, 2024

Github isn’t a help forum. There are tutorials on gbatemp dedicated to helping people build their own. I’d ask what happens when you open msys2 and type arm-none-eabi-gcc (because it sounds like a path issue), but I’d rather you didn’t answer. Close this and seek help on temp…

from hekate.

ZeldaPken avatar ZeldaPken commented on July 20, 2024

Github 不是一个帮助论坛。有关于 gbatemp 的教程,专门帮助人们构建自己的教程。我会问当您打开 msys2 并键入 arm-none-eabi-gcc 时会发生什么(因为这听起来像是路径问题),但我宁愿您不回答。关闭它并寻求临时帮助...

GitHub isn't, but what is the issue?

Well, allow me to continue with my question, when I enter the command correctly, $ pacman -S gcc-arm-none-eabi error: target not found: gcc-arm-none-eabi shows these two codes separately

error: target not found: gcc-arm-none-eabi


from hekate.

ZeldaPken avatar ZeldaPken commented on July 20, 2024

This is the version of the toolchain, which is displayed in the terminal

arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 20210824 (release)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.```

from hekate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.