Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. Download DevKitPro installer from https://github.com/devkitPro/installer/releases
- 2. Run it > Next > Next > Next > Next > Finish
- 3. Download MingW from https://sourceforge.net/projects/mingw/files/latest/download
- 4. Run it > Install > Continue > Continue > Check options listed below > Installation (Top left in title bar) > Apply Changes > Apply > Close > [X]
- + MinGW Developer Toolkit
- + mingW32 gcc g++
- + mingW32 gcc objc
- + Msys base
- 5. Download python 2.7.3 from https://www.python.org/ftp/python/2.7.3/python-2.7.3.amd64.msihttps://www.python.org/ftp/python/2.7.3/python-2.7.3.amd64.msi
- 6. Run 2.7 installer, Click: Next > Next > Next > Finish
- 7. Download ‘Pyrex compiler and documentation’ from https://www.csse.canterbury.ac.nz/greg.ewing/python/Pyrex/
- 8. Extract Pyrex-0.9.9.tar.gz with 7zip
- 9. Open console in unzipped pyrex folder
- 10. Run C:/python27/python.exe setup.py bdist_wininst
- 11. Run dspython-master/msys_pyds.bat
- 12. Cannot find the file specified c:\devkitPro\msys\msys.bat
- 13. Edit msys_pyds.bat:
- + Replace: SET PATH=%MINGWDIR%/bin;%DEVKITPRO%/msys/bin;...
- + With: SET PATH=%MINGWDIR%/bin;%DEVKITPRO%/msys2/bin;...
- + Replace: c:\devkitPro\msys\msys.bat
- + With: c:\devkitPro\msys2\msys2.exe
- + Replce: set LDFLAGS=-specs=ds_arm9.specs -...
- + With: set LDFLAGS=-specs= FULL_PATH\dspython-master\slp-250\ds_arm9.specs
- 14. Run dspython-master/msys_pyds.bat
- 15. Switch to MSYS window that just opened
- 16. Cd my way to dspython-master
- 17. cd zlib-1.2.3
- 18. Make
- No such file or directory: arm-eabi-gcc
- -- Not sure what else to do here, so I gave up and moved to the next instructions --
- 19. Cd ../slp-250
- 20. Edit configure line 1137
- 21. Add the star so that msys2 works …-lnews* | -msys*)
- 22. sh configure --host=arm-eabi --config-cache
- checking for C compiler default output file name... configure: error: C compiler cannot create executables
- 23. Config.log line 123 says
- gcc: fatal error: cannot read spec file 'ds_arm9.specs': No such file or directory
- 24. Ftr, ./dspython-master/slp-250/ds_arm9.specs DOES exist.
- -- No idea how to solve this. I tried editing the configurations specified in msys_pyds.bat to include the full path (Then re-running it), but nothing changes, even in the logs.
Advertisement
Add Comment
Please, Sign In to add comment