[Simh] simhv37-0 won't compile under Mac OS X
Davis Johnson
davis at frizzen.com
Mon Feb 5 22:50:21 EST 2007
Emil Sarlija wrote:
>Hi all!
>
>Just letting you know that I got this error message when trying to
>compile v3.7 under Mac OS X using Apple's Xcode dev tools v2.4.1.
>
>/usr/bin/ld: can't locate file for: -lrt
>collect2: ld returned 1 exit status
>make: *** [BIN/pdp1] Error 1
>
>I removed the -lrt option from the makefile, it compiled and the
>simulators run okay. I know this may sound dumb (I not a coder as
>such) but what is the effect removing that option ?
>
>Have fun!
>Emil
>
>_______________________________________________
>Simh mailing list
>Simh at trailing-edge.com
>http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>
>
>
The -lrt just tells the linker to resolve against the rt (realtime)
library. OS X apparently does not have a separate rt library, so the
file is missing. The functions that would be in the rt librarary are in
the main C library. There should be no ill effects.
More information about the Simh
mailing list