-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels