[Simh] SIMH with EXPECT or EMPTY with Windows compiled version or under cygwin and compilation issues

Larry Baker baker at usgs.gov
Fri Jun 5 13:30:08 EDT 2009


> --- On Thu, 6/4/09, SPC <spedraja at gmail.com> wrote:
>
> * Trying to compile the PDP11 source code under CYGWIN, it crash in  
> linking
> phase for cause of "cannot find -lrt"

On my Mac, -lrt causes the same failure to link SIMH because librt.*  
does not exist.  However, on a Mac at least, the rt routines are  
included in the system library.  The fix is to remove the -lrt link  
option from the SIMH makefile:

# No librt in Mac S X
#     OS_CCDEFS = -lrt -lm -D_GNU_SOURCE
       OS_CCDEFS = -lm -D_GNU_SOURCE

Larry Baker
US Geological Survey
650-329-5608
baker at usgs.gov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20090605/b29a56ce/attachment-0003.html>


More information about the Simh mailing list