From: Bob Supnik [bsupnik@nauticusnet.com] Sent: Thursday, April 18, 2002 9:48 AM To: Info-VAX@Mvb.Saic.Com Subject: Re: 2.9-6 (Re: SIMH 2.9-5 - first official VAX release) 1. I don't believe the VAX (or PDP-10) simulators will build on DEC-C VAX, because it doesn't support 64b integers. It does build on DEC-C Alpha, and there's a build_vms.com file in the distribution. 2. For Windows, you need to include wsock32.dll as part of the library load specification. /Bob On Wed, 17 Apr 2002 19:13:22 GMT, "Hans Vlems" wrote: >Bob, > >let me start with admitting that I'm not much of a C programmer. >I tried to make simh V2.9 work on a VAX 7.2 system (with DEC-C) >and got a compiler error: > >$ @build_vms > >Runtime Debugger Won't Be Included At Link. >Compiling On A VAX Machine. > >Compling The SYS$DISK:[.LIB]SIMH-VAX.OLB Library. >Using Compile Command: >CC/PREFIX=ALL/NOOPTIMIZE/NODEBUG/NEST=PRIMARY/NAME=(AS_IS >,SHORTENED)/INCLUDE=(SYS$DISK:[]) > > SYS$DISK:[]SCP_TTY.C >%DCL-W-IVKEYW, unrecognized keyword - check validity and spelling > \SHORTENED\ >%LIBRAR-W-OPENIN, error opening DISK$DISK:[SIMH]SCP_TTY.OBJ; as input >-RMS-E-FNF, file not found >%DELETE-W-SEARCHFAIL, error searching for DISK$DISK:[SIMH]SCP_TTY.OBJ;* >-RMS-E-FNF, file not found > SYS$DISK:[]SIM_SOCK.C >%DCL-W-IVKEYW, unrecognized keyword - check validity and spelling > \SHORTENED\ >%LIBRAR-W-OPENIN, error opening DISK$DISK:[SIMH]SIM_SOCK.OBJ; as input >-RMS-E-FNF, file not found >%DELETE-W-SEARCHFAIL, error searching for DISK$DISK:[SIMH]SIM_SOCK.OBJ;* >-RMS-E-FNF, file not found > SYS$DISK:[]SIM_TMXR.C >%DCL-W-IVKEYW, unrecognized keyword - check validity and spelling > \SHORTENED\ > >Next I tried to build it with C++ on W98. There I got this linker error: > >--------------------Configuration: simh v29 - Win32 >Debug-------------------- >Linking... >sim_sock.obj : error LNK2001: unresolved external symbol _listen@8 >sim_sock.obj : error LNK2001: unresolved external symbol _bind@12 >sim_sock.obj : error LNK2001: unresolved external symbol _htonl@4 >sim_sock.obj : error LNK2001: unresolved external symbol _htons@4 >sim_sock.obj : error LNK2001: unresolved external symbol _socket@12 >sim_sock.obj : error LNK2001: unresolved external symbol _WSAStartup@8 >sim_sock.obj : error LNK2001: unresolved external symbol _ntohl@4 >sim_sock.obj : error LNK2001: unresolved external symbol _WSAGetLastError@0 >sim_sock.obj : error LNK2001: unresolved external symbol _accept@12 >sim_sock.obj : error LNK2001: unresolved external symbol _recv@16 >sim_sock.obj : error LNK2001: unresolved external symbol _send@16 >sim_sock.obj : error LNK2001: unresolved external symbol _WSACleanup@0 >sim_sock.obj : error LNK2001: unresolved external symbol _closesocket@4 >sim_sock.obj : error LNK2001: unresolved external symbol _ioctlsocket@12 >Debug/simh v29.exe : fatal error LNK1120: 14 unresolved externals >Error executing link.exe. > >simh v29.exe - 15 error(s), 0 warning(s) > >What I want to do is build the PDP-11 simulator. Now I did not modify any C >file. Just the build_vms.com file >because DCL does not like the extra character. The compiler is not too >fond of it either but assumes it's >white space. > >The question is, can you point me to a configuration/installation guide? > >Hans Vlems > >PS >Any chance of getting a B7700 emulator? > >Bob Supnik wrote in message >news:ki2rbuk0v10h9r2j9qcnlc5gvo1pnt5jbi@4ax.com... >> Found the bug that was causing integer overflow in SDL installation. >> In EDIV, if divisor and dividend had different signs, and the quotient >> was 0, the test for overflow was incorrect. >> >> Both this and the CASEL fix are released as 2.9-6 today. >> >> There is still a bug in handling compressed libraries. Unless the >> system libraries are decompressed, installations fail. This bug does >> not occur in Tim Stark's TS10, so a prize to the person who finds the >> discrepancy between the two simulators ;) >> >> /Bob >