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

Hittner, David T. david.hittner at ngc.com
Wed Jun 7 13:26:59 EDT 2006


You might try removing the space between the "-I" and "VAX/", I notice
the there's no space in "-I.",
or you could try forcing a self-reference with "-I ./VAX/".

What version of gcc are you using? It could be a gcc bug - the SIMH
makefile has worked for a long time.

Dave

> -----Original Message-----
> From: simh-bounces at trailing-edge.com 
> [mailto:simh-bounces at trailing-edge.com] On Behalf Of Wilm Boerhout
> Sent: Wednesday, June 07, 2006 12:56 PM
> To: simh at trailing-edge.com
> Subject: [Simh] SIMH 3.6-0, problem compiling VAX and VAX780 
> under Windows
> 
> 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?
> 
> /Wilm
> 
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
> 



More information about the Simh mailing list