[Simh] SIMH 3.6-0, problem compiling VAX and VAX780 under Windows

Kevin Handy kth at srv.net
Thu Jun 8 11:49:02 EDT 2006


Wilm Boerhout wrote:

>I have a problem compiling VAX and VAX780 under Windows, using the SIMH
>supplied build_mingw.bat script.
>
>The VAXen will not build *unless* I copy vax_defs.h, vaxmod_defs.h and
>vax780_defs.h from the VAX folder into the PDP11 folder. If not, the
>first PDP11 module to be compiled with either VAX fails with a "file
>not found" error on vax_defs.h.
>
>The gcc command generated by mingw32-make is:
>
>gcc -std=c99 -U__STRICT_ANSI__ -O0 -I. VAX/vax_cpu.c VAX/vax_cpu1.c
>VAX/vax_fpa.c VAX/vax_io.c VAX/vax_cis.c VAX/vax_octa.c
>VAX/vax_cmode.c VAX/vax_mmu.c VAX/vax_stddev.c VAX/vax_sysdev.c
>VAX/vax_sys.c  VAX/vax_syscm.c VAX/vax_syslist.c PDP11/pdp11_rl.c
>PDP11/pdp11_rq.cPDP11/pdp11_ts.c PDP11/pdp11_dz.c PDP11/pdp11_lp.c
>PDP11/pdp11_tq.c PDP11/pdp11_xq.c PDP11/pdp11_ry.c PDP11/pdp11_vh.c
>PDP11/pdp11_cr.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c
>sim_tmxr.c sim_ether.c sim_tape.c -DVM_VAX -DUSE_INT64 -DUSE_ADDR64 -I
>VAX/ -I PDP11/  -o bin/vax.exe -lm -lwsock32
>
>(note the -I switches to specify the #include directories, they seem to
>be correct)
>
>What am I missing?
>
>  
>
Could your compiler have position dependent switches?
Try moving all the '-I xxx's to before the first file name.

>/Wilm
>  
>




More information about the Simh mailing list