You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get the emulator to compile under a recent FreeBSD, I had to make changes to the Makefile CC= cc CFLAGS = -Wall -O3 -pg -I/usr/local/include LDFLAGS = -L/usr/local/lib
and nd100em: nd100em.o nd100lib.o cpu.o rtc.o mon.o decode.o float.o floppy.o io.o trace.o $(CC) $(CFLAGS) $(LDFLAGS) -pthread nd100em.o nd100lib.o cpu.o rtc.o mon.o decode.o float.o floppy.o io.o trace.o -lconfig -lm -o nd100em
FreeBSD has switched to clang, installed as cc, and doesn't have gcc installed as default anymore.
The /usr/local/include and /usr/local/lib part is to find libconfig when installed in FreeBSD.
The text was updated successfully, but these errors were encountered:
Tested on tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 10.4-STABLE FreeBSD 10.4-STABLE #1 r329982: Sun Feb 25 20:35:06 CET 2018 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64
To get the emulator to compile under a recent FreeBSD, I had to make changes to the Makefile
CC= cc
CFLAGS = -Wall -O3 -pg -I/usr/local/include
LDFLAGS = -L/usr/local/lib
and
nd100em: nd100em.o nd100lib.o cpu.o rtc.o mon.o decode.o float.o floppy.o io.o trace.o $(CC) $(CFLAGS) $(LDFLAGS) -pthread nd100em.o nd100lib.o cpu.o rtc.o mon.o decode.o float.o floppy.o io.o trace.o -lconfig -lm -o nd100em
FreeBSD has switched to clang, installed as cc, and doesn't have gcc installed as default anymore.
The /usr/local/include and /usr/local/lib part is to find libconfig when installed in FreeBSD.
The text was updated successfully, but these errors were encountered: