[Simh] Build problem under Mac OS X.

Mark Garlanger garlanger at gmail.com
Tue Jun 2 02:29:50 EDT 2009


I downloaded, unzipped simhv38-1.zip, and tried to compile it but it failed
because there was no BIN directory and makefile did not create it.

macbook-pro-3:simh mgarlanger$ export OSTYPE
macbook-pro-3:simh mgarlanger$ make
gcc -std=c99 -U__STRICT_ANSI__ -g -D_GNU_SOURCE -I . PDP1/pdp1_lp.c
PDP1/pdp1_cpu.c PDP1/pdp1_stddev.c PDP1/pdp1_sys.c PDP1/pdp1_dt.c
PDP1/pdp1_drm.c PDP1/pdp1_clk.c PDP1/pdp1_dcs.c scp.c sim_console.c
sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I PDP1
-o BIN/pdp1
ld: can't open output file for writing: BIN/pdp1
collect2: ld returned 1 exit status
make: *** [BIN/pdp1] Error 1
macbook-pro-3:simh mgarlanger$ ls BIN
ls: BIN: No such file or directory
macbook-pro-3:simh mgarlanger$ mkdir BIN

After creating the directory, the build completed without any other
problems.

Since everything compiled cleaning except ibm1130_sca.c, I thought I'd
mention it. There were just two warnings in ibm1130_sca.c, on MacOS 10.5.6:

Ibm1130/ibm1130_sca.c: In function ‘sca_flush’:
Ibm1130/ibm1130_sca.c:346: warning: pointer targets in passing argument 2 of
‘sim_write_sock’ differ in signedness
Ibm1130/ibm1130_sca.c: In function ‘sca_check_indata’:
Ibm1130/ibm1130_sca.c:658: warning: pointer targets in passing argument 2 of
‘sim_read_sock’ differ in signedness


Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20090602/4c8698c8/attachment-0003.html>


More information about the Simh mailing list