Nintendo DS Lite

build devkitpro


步驟如下:

$ sudo chmod 0777 /opt

$ cd
$ git clone https://github.com/devkitPro/buildscripts devkitpro_build
$ cd devkitpro_build
$ wget https://wii.leseratte10.de/devkitPro/devkitARM/devkitarm-rules/devkitarm-rules-1.2.1.tar.gz
$ wget https://wii.leseratte10.de/devkitPro/devkitARM/devkitarm-rules/devkitarm-crtls-1.1.1.tar.gz
$ wget https://ftp.gnu.org/gnu/binutils/binutils-2.39.tar.xz
$ wget https://ftp.gnu.org/gnu/gcc/gcc-12.2.0/gcc-12.2.0.tar.xz
$ ./build-devkit.sh
  Please select the toolchain you require

  1: devkitARM (gba gp32 ds 3ds)
  2: devkitPPC (gamecube wii wii-u)
  3: devkitA64 (switch)
  1

  Please enter the directory where you would like 'devkitARM' to be installed:
  for mingw/msys you must use <drive>:/<install path> or you will have include path problems
  this is the top level directory for devkitpro, i.e. e:/devkitPro
  /opt/devkitpro

  use /usr/bin/make as make

  Ready to install devkitARM in /opt/devkitARM

  press return to continue
 
  Would you like to delete the build folders and patched sources? [Y/n]

  Removing patched sources and build directories

  note: Add the following to your environment;

    DEVKITPRO=/opt/devkitpro
    DEVKITARM=/opt/devkitpro/devkitARM

$ /opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -v
  gcc version 11.1.0 (devkitARM release 56)

P.S. 如果不想手動編譯,可以直接使用從docker提取的檔案(devkitpro_elf_x64.tar.gz)


返回上一頁