AZBevier / nbc

Non Based C Compiler and environment for MPX1X, MPX3X, and Linux
2 stars 0 forks source link

mpxblk missing #3

Open neozeed opened 3 years ago

neozeed commented 3 years ago

I must be missing something as the tool mpxblk is missing? Or is it something to get from SIMH?

make[2]: Entering directory '/home/jsteve/src/nbc/nbc-1.4/nbyacc'
/bin/rm -f y1.o y2.o y3.o y4.o
nbcc -C -1 -DMPX -DMPX1X -I/system/cinclude -M/system/bin/m.mpxmac1x -P/system/bin/mpxpre1x y1.c y2.c y3.c y4.c
 Processing y1.c:
 Processing y2.c:
 Processing y3.c:
 Processing y4.c:
/bin/echo y1.o y2.o y3.o y4.o objects created
y1.o y2.o y3.o y4.o objects created
./mpx1x already exits
mpxblk <y1.c >./mpx1x/Y1.C
/bin/sh: 1: mpxblk: not found
make[2]: *** [make.mpx1x:48: install] Error 127
make[2]: Leaving directory '/home/jsteve/src/nbc/nbc-1.4/nbyacc'
make[1]: *** [mk.mpx1x:92: compile] Error 2
make[1]: Leaving directory '/home/jsteve/src/nbc/nbc-1.4'
make: *** [makefile:16: install] Error 2

Files I have in /system

root@remlazar:/home/jsteve/src/nbc/nbc-1.4# ls /system/bin
ar        chmod  cmp    diff   grep   merge     m.mpxmac1x  mpxpre    mvdir   nbcp1   pwd       rm     sum
basename  chown  cmprs  dodep  ident  mkdep     m.mpxmac24  mpxpre1x  nbar    nbcp2   rcs       rmdir  touch
cd        chtyp  co     echo   ln     mkdir     m.mpxmac35  mpxpre3x  nbasm   nbcpp   rcsdiff   sdiff  true
cdr       ci     cp     expr   ls     mkfile    m.mpxmac36  mpxpre7x  nbcc    nblex   rcsmerge  sed    uniq
chgrp     clb    date   false  make   m.mpxmac  m.mpxmac3x  mv        nbccom  nbyacc  rlog      sh

I set the path like this: PATH=$PATH:/system/bin: clean/clobber doesn't... clean /system sooo rm -rf /system/*;make clean;make clobber;make install

to rebuild.

neozeed commented 3 years ago

Yeah sure enough it is a taptool:

https://raw.githubusercontent.com/AZBevier/sims/master/SEL32/taptools/mpxblk.c

Maybe include it in this project to be more standalone?