[Simh] Compiling most recent release of simh

Paul Koning paulkoning at comcast.net
Tue Oct 11 11:07:35 EDT 2016


> On Oct 11, 2016, at 10:48 AM, Mark Pizzolato <Mark at infocomm.com> wrote:
> 
> It is output when you type ‘make’.  Please provide ALL of that output and I can explain more about what is going on.
>  

Here's mine.  Mac OS 10.11, SDL2 and SDL2_ttf installed in /opt/local.  The makefile finds SDL2 correctly, but not the ttf support even though it's in the right spot.  See output from "make besm6" and a "find" command that shows the files.  (I *also* have both installed in /usr/local just in case the ttf stuff was looking there even though it was pulling libSDL2 from /opt/local.)

	paul


PaulKoningsMBP:simh-official pkoning$ make besm6
lib paths are: /usr/lib /opt/local/lib /usr/X11/lib
include paths are:  /usr/local/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/7.3.0/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /usr/include /opt/local/include
using libm: /usr/lib/libm.dylib
using libpthread: /usr/lib/libpthread.dylib /usr/include/pthread.h
using libpcreposix: /usr/lib/libpcreposix.dylib /usr/local/include/pcreposix.h
using libdl: /usr/lib/libdl.dylib /usr/include/dlfcn.h
using libpng: /opt/local/lib/libpng.dylib /opt/local/include/png.h
using mman: /usr/include/sys/mman.h
using libSDL2: /opt/local/include/SDL2/SDL.h
***
*** besm6 Simulator being built with:
*** - compiler optimizations and no debugging support. Apple LLVM version 7.3.0.
*** - video capabilities provided by libSDL2 (Simple Directmedia Layer).
***
*** git commit id is 9c0b0ffb46ee5376e45f3fa7cc2902969553f5bd.
***
*** No SDL ttf support available.  BESM-6 video panel disabled.
***
mkdir -p BIN
gcc -std=c99 -U__STRICT_ANSI__  -O2 -DSIM_GIT_COMMIT_ID=9c0b0ffb46ee5376e45f3fa7cc2902969553f5bd -DSIM_COMPILER="Apple LLVM version 7.3.0" -I . -D_GNU_SOURCE -I/opt/local/include -DUSE_READER_THREAD -DSIM_ASYNCH_IO  -DHAVE_PCREPOSIX_H -DHAVE_DLOPEN=dylib -DHAVE_LIBPNG -DHAVE_GLOB -DHAVE_SHM_OPEN  BESM6/besm6_cpu.c BESM6/besm6_sys.c BESM6/besm6_mmu.c BESM6/besm6_arith.c BESM6/besm6_disk.c BESM6/besm6_drum.c BESM6/besm6_tty.c BESM6/besm6_panel.c BESM6/besm6_printer.c BESM6/besm6_punch.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_disk.c sim_serial.c sim_video.c sim_imd.c sim_card.c -I BESM6 -DUSE_INT64  -o BIN/besm6 -L/opt/local/lib -L/usr/X11/lib -lm -lpthread -lpcreposix -ldl -lpng  
BESM6/besm6_arith.c:267:10: warning: shifting a negative signed value is
      undefined [-Wshift-negative-value]
    nn = INT64(n.mantissa)*2;
         ^~~~~~~~~~~~~~~~~
BESM6/besm6_arith.c:260:39: note: expanded from macro 'INT64'
#define INT64(x) ((x) & BIT41 ? (-1LL << 40) | (x) : x)
                                 ~~~~ ^
BESM6/besm6_arith.c:268:10: warning: shifting a negative signed value is
      undefined [-Wshift-negative-value]
    dd = INT64(d.mantissa)*2;
         ^~~~~~~~~~~~~~~~~
BESM6/besm6_arith.c:260:39: note: expanded from macro 'INT64'
#define INT64(x) ((x) & BIT41 ? (-1LL << 40) | (x) : x)
                                 ~~~~ ^
2 warnings generated.
PaulKoningsMBP:simh-official pkoning$ find /opt/local -iname '*sdl*ttf*'
/opt/local/include/SDL2/SDL_ttf.h
/opt/local/lib/libSDL2_ttf-2.0.0.dylib
/opt/local/lib/libSDL2_ttf.a
/opt/local/lib/libSDL2_ttf.dylib
/opt/local/lib/libSDL2_ttf.la
/opt/local/lib/pkgconfig/SDL2_ttf.pc
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libsdl2_ttf
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libsdl_ttf
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libsdl_ttf-framework
PaulKoningsMBP:simh-official pkoning$ 



More information about the Simh mailing list