Skip to content
Modified version of GNU binutils 2.22 for Milkymist LM32 MMU project
C D Assembly Shell C++ Objective-C Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bfd
binutils
config
cpu
elfcpp
etc
gas
gold
gprof
include
intl
ld Initial import of official GNU binutils 2.22 Jan 30, 2012
libiberty
opcodes
texinfo
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
ChangeLog
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
README
README-maintainer-mode
README.gnu
compile
config-ml.in
config.guess
config.rpath
config.sub
configure
configure.ac
depcomp
install-sh
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
makefile.vms
md5.sum
missing
mkdep
mkinstalldirs
move-if-change
setup.com
src-release
symlink-tree
ylwrap

README

How to install Milkymist LM32-MMU modified version of binutils

1°) Clone source repository and patch it

	git clone git://github.com/fallen/lm32-binutils-mmu.git
	wget http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11/binutils-2.22-rtems4.11-20120427.diff
	cd lm32-binutils-mmu
	cat ../binutils-2.22-rtems4.11-20120427.diff | patch -p1 --dry-run
	# If the previous command says no error you can continue
	cat ../binutils-2.22-rtems4.11-20120427.diff | patch -p1


2°) Make sure you have everything ready to compile lm32-binutils-mmu

	sudo aptitude install m4 patch build-essential texinfo cvs libncurses5-dev libgmp3-dev libmpfr-dev libmpc-dev autoconf autotools-dev automake flex bison

3°) Compile it

	mkdir b-binutils
	cd b-binutils
	../lm32-binutils-mmu/configure --target=lm32-rtems4.11 --prefix=/opt/rtems-4.11/
	make all
	make info
	sudo make install

4°) Add somewhere in your .bashrc/zshrc/.profile : 

	export PATH=/opt/rtems-4.11/bin:$PATH

5°) Restart your GNOME/KDE/Mac OS/awesome/whatever session
Something went wrong with that request. Please try again.