For those who want to develop under Windows:
Download cygwin
http://cygwin.com/setup.exeInstall cygwin for windows
- Check the following packages:
Archive: unzip, zip
Base: Everything
Devel: automake, autoconf, binutils, bison, byacc, gcc, gcc-core, gcc-g++, libtool, make, nasm, patchutils, subversion
Libs: libbz2-devel
Perl: perl
Python: python
Utils: bzip2, cygutils, diffutils, patch, patchutils
Web: wget
- confirm to download the dependencies too
Get
http://sourceforge.net/projects/yagarto/files/YAGARTO%20for%20Windows/20111119/yagarto-bu-2.21_gcc-4.6.2-c-c%2B%2B_nl-1.19.0_gdb-7.3.1_eabi_20111119.exe/download file and run it
Install it to "yourcygwindir"/home/"yourusername"/arm-toolchain462
Download
http://mercurial.selenic.com/release/windows/mercurial-2.3.2-x64.msi and install it.
(If you have a 32-bit Windows then download the 32 bit mercurial here :
http://mercurial.selenic.com/release/windows/mercurial-2.3.2-x86.msi )
Start cygwin, go to your home folder ("yourcygwindir"/home/"yourusername") and get the source:
hg clone -r unified
https://bitbucket.org/hudson/magic-lanternGo to the magic-lantern folder and create Makefile.user
Edit Makefile.user:
ARM_ABI=none-eabi
ARM_LIBC_A=../../../arm-toolchain462/arm-none-eabi/lib/libc.a
PYTHON=python2.6
Run make to compile your own autoexec.bin