Opened 22 years ago

Closed 22 years ago

Last modified 20 years ago

#380 closed enhancement (fixed)

Portfile for SPIM 6.5

Reported by: stewartsmith@… Owned by: kvv@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

below is the portfile for the MIPS simulator SPIM. The variant doesn't work, the install target goes ahead and builds xspim. it's the spim build system that is broken, i haven't fixed it all yet.

PortSystem 1.0 name spim version 6.5 categories emulators maintainers stewartsmith@… description an assembly language MIPS R2000/R3000 simulator long_description SPIM S20 is a software simulator that runs assembly language programs for\ the MIPS R2000/R3000 RISC computers. SPIM can read and immediately run\ files containing assembly language statements. SPIM is a self-contained\ system for running these programs and contains a debugger and interface to\ the operating system.\ \ SPIM implements almost the entire MIPS assembler-extended instruction set\ for the R2000/R3000 (I've omitted some the complex floating point comparisons\ and details of the memory system page tables). The MIPS architecture has\ evolved considerably since then (in particular the 64 bit extensions), which\ means that SPIM will not run programs compiled for recent MIPS or SGI\ processors.\

master_sites http://www.cs.wisc.edu/~larus/SPIM/ distname spim checksums md5 be9cf6ff2798e507736d05eb5c70914f worksrcdir spim-6.5 configure.cmd ./Configure post-configure { reinplace "s|/usr/unsup|${prefix}|g" ${worksrcpath}/Makefile

reinplace \

"s|TRAP_DIR = \.|TRAP_DIR = ${prefix}/share/spim/|g" \ ${worksrcpath}/Makefile

reinplace "s|/var/unsup|${prefix}|g" ${worksrcpath}/Makefile

}

build.target spim build.args BIN_DIR=${prefix}/bin MAN_DIR=${prefix}/man/ TRAP_DIR=${prefix}/share/spim/ pre-install { system "mkdir -p ${destroot}${prefix}/share/spim" } install.target install install.man

variant xspim { build.target-append xspim }

Change History (1)

comment:1 Changed 22 years ago by michaelm@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.