[Simh] What library is "-lrt" in makefile for?
Pierre-Francois BESSON
bessonpf at computer.org
Fri Apr 6 02:07:42 EDT 2007
Hello,
I was able to build SIMH on 10.4.9 by changing the
following lines in
the make file :
CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm
-lrt $(OS_CCDEFS) -I .
ifeq ($(USE_NETWORK),)
else
NETWORK_OPT = -DUSE_NETWORK -isystem
/usr/local/include /usr/local/lib/libpcap.a
endif
to
CC = gcc -std=c99 -O3 -U__STRICT_ANSI__ -g -lm
$(OS_CCDEFS) -I .
ifeq ($(USE_NETWORK),)
else
NETWORK_OPT = -DUSE_NETWORK -isystem /usr/include
../libpcap-0.9.5/macos/libpcap.a
endif
(I used the libpcap library) and everything works
fine, even the
ethernet option.
Hope this helps.
Pierre Francois Besson
More information about the Simh
mailing list