You are not logged in.

#1 2005-06-07 20:35:07

Aerandir
Member
From: Trier/Germany
Registered: 2005-06-07
Posts: 10
Website

Missing MIPS simulator/emulator in pacman rep

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

#2 2005-06-08 12:41:37

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Missing MIPS simulator/emulator in pacman rep

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 smile

Offline

#3 2005-06-08 13:05:04

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Missing MIPS simulator/emulator in pacman rep

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

#4 2005-06-14 15:46:12

Aerandir
Member
From: Trier/Germany
Registered: 2005-06-07
Posts: 10
Website

Re: Missing MIPS simulator/emulator in pacman rep

dibblethewrecker wrote:

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!

smile


____________________________
I would love to change the world, but they won't give me the source code.

Offline

#5 2005-06-14 16:30:50

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Missing MIPS simulator/emulator in pacman rep

dibblethewrecker wrote:

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

#6 2005-06-14 16:38:17

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Missing MIPS simulator/emulator in pacman rep

cool - i was perplexed - the readme said it should install but i couldn't see what was wrong from the makefile

Offline

#7 2005-06-14 16:52:21

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Missing MIPS simulator/emulator in pacman rep

I had similar problem when I packaged scilab.  I suspected same thing here.

Offline

#8 2005-09-15 23:00:32

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Missing MIPS simulator/emulator in pacman rep

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

#9 2005-09-15 23:10:09

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: Missing MIPS simulator/emulator in pacman rep

I never fixed the manpages tho I think...

Offline

Board footer

Powered by FluxBB