You are not logged in.
Hi!
I wonder if someone might have a good MIPS emulator as PKG for me. I am CS student and will attend a lecture about processor architecture. Our prof told us to get in contact with an MIPS emulator oder something. I am bloddy new to MIPS so any hint is welcome about what is a good emulator for Linux.
Solong
____________________________
I would love to change the world, but they won't give me the source code.
Offline
Hallo - i have tried to make a PKGBUILD for spim for you - just UPDATED (Wed Jun 8 13:46:47)
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=spim
pkgver=7.1
pkgrel=1
pkgdesc="spim is a self-contained simulator that will run MIPS32 assembly language programs"
url="http://www.cs.wisc.edu/~larus/spim.html"
license=""
depends=()
makedepends=('flex' 'x-server')
conflicts=()
replaces=()
backup=()
install=
source=(http://www.cs.wisc.edu/~larus/SPIM/$pkgname.tar.gz)
md5sums=('24546da54bca92d96bf2ea284e81d6eb')
build() {
cd $startdir/src/$pkgname-$pkgver
./Configure
mkdir -p $startdir/pkg/usr/share/spim/exceptions
sed -i "s|EXCEPTION_DIR = .|EXCEPTION_DIR = /usr/share/spim/exceptions|g" ./Imakefile
sed -i "s|BIN_DIR = /usr/unsup/bin|BIN_DIR = /usr/bin|g" ./Imakefile
sed -i "s|MAN_DIR = /var/unsup/man|MAN_DIR = /usr/man|g" ./Imakefile
xmkmf || return 1
make || return 1
make xspim || return 1
make DESTDIR=$startdir/pkg install
}
You need an xserver pkg to build at the mo - i will work on a non X one
Offline
ok - that is the best i can do for now - no idea why the man pages are not installed!
I have added it to my repo - the info on how to use my repo is found here:
http://dtw.jiwe.org/content.php?article.9
Offline
ok - that is the best i can do for now - no idea why the man pages are not installed!
I have added it to my repo - the info on how to use my repo is found here:
http://dtw.jiwe.org/content.php?article.9
Hi dibblethewrecker!
Thank you very much!
____________________________
I would love to change the world, but they won't give me the source code.
Offline
ok - that is the best i can do for now - no idea why the man pages are not installed!
you need to install them seperately
make DESTDIR=$startdir/pkg MAN_DIR=/usr/man install.man
or something similar. I haven't tested it. Check the Makefile.
Offline
cool - i was perplexed - the readme said it should install but i couldn't see what was wrong from the makefile
Offline
I had similar problem when I packaged scilab. I suspected same thing here.
Offline
Thanks for the package dibble. I need it for a course I have to TA and I honestly don't have time to build it.
Dusty
Offline
I never fixed the manpages tho I think...
Offline