Numerous changes over the last few days. Please pull the latest from github before
proceeding.
When I compile on Dave s system using Sun C ( 5.12), I needed to change the line endings
to LF from CR-LF.
If dos2unix took a list of filenames to convert in-place then we d merely do:
$ dos2unix makefile *.txt *.c *.h */*.h */*.c
Since dos2unix doesn t work like I d hope, we can get around this with unzip:
$ unzip aa master.zip
$ mkdir temp
$ cd temp
$ unzip ../master.zip
$ cp simh-master/VAX/*.bin simh-master/VAX/*.exe ../simh-master/VAX/
$ cd ../simh-master
$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
Hitting an issue when using SunCC from Solaris Studio now:
bash-3.2$ /opt/csw/bin/gmake vax GCC=/opt/solarisstudio12.3/bin/CC
lib paths are: /lib /usr/lib
using libm: /lib/libm.so
using librt: /lib/librt.so
using libpthread: /lib/libpthread.so /usr/include/pthread.h
using libdl: /lib/libdl.so /usr/include/dlfcn.h
using libpcap: /usr/include/pcap.h
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. Sun C 5.12.
*** - dynamic networking support using Solaris provided libpcap components.
***
/opt/solarisstudio12.3/bin/CC -U__STRICT_ANSI__ -O2 -I . -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO -DHAVE_DLOPEN=so
sim_BuildROMs.c -o BIN/BuildROMs
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 42: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 43: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 44: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 45: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 46: Warning: String literal converted to char* in
initialization.
"sim_BuildROMs.c", line 107: Error: Cannot assign void* to char*.
"sim_BuildROMs.c", line 119: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 158: Error: Cannot assign void* to unsigned char*.
"sim_BuildROMs.c", line 169: Error: Cannot assign const char* to char*.
"sim_BuildROMs.c", line 245: Error: Cannot assign void* to unsigned char*.
5 Error(s) and 15 Warning(s) detected.
gmake: *** [BIN/BuildROMs] Error 2
Show replies by date