[Simh] Build problem under Mac OS X.

Mark Garlanger garlanger at gmail.com
Tue Jun 2 20:40:35 EDT 2009


I didn't see any info about it in any of the files that were included in the
zip file. Instead of adding instructions to make it, it would be simple to
fix this in the makefile, or at a minimum include an empty BIN directory in
the zip file.

Also, on the simh site's help page, the link to the FAQ is broken: "The
requested URL /simh_faq.txt was not found on this server."

Mark


On Tue, Jun 2, 2009 at 2:03 PM, Sterling Garwood <slgarwood at me.com> wrote:

> AFAIK its always been this way - as a matter of fact somewhere in the
> install info it says to make a BIN directory...
> On Jun 2, 2009, at 2:29 AM, Mark Garlanger wrote:
>
>
> 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
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20090602/a9ef42bd/attachment-0003.html>


More information about the Simh mailing list