dock for osx.

Hi all,

for the many many curious people the steps to compile dock for osx are

<x-tad-smaller>You need to include <sys/time.h> before <sys/resource.h>, you</x-tad-smaller>
<x-tad-smaller> need to include <sys/types.h> in parm.c

#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/resource.h>
#include "define.h"
#include "utility.h"
#include "global.h"
#include "parm.h"

add -lgcc to your link line or link against /usr/lib/libgcc.a.

I havent tried compiling with different apple specific gcc and g77 flags yet, or pushing the optimisation. But this does produce a working version of DOCK and GRID.



On 29/01/2004, at 6:10 PM, <wgscott|at|> wrote:

You need to use


<x-tad-smaller>If you get it to work, would you be kind enough to send a summary of what it takes?</x-tad-smaller>
<x-tad-smaller>William G. Scott</x-tad-smaller>
<x-tad-smaller>Associate Professor</x-tad-smaller>
<x-tad-smaller>Department of Chemistry and Biochemistry</x-tad-smaller>
<x-tad-smaller>and The Center for the Molecular Biology of RNA</x-tad-smaller>
<x-tad-smaller>Sinsheimer Laboratories</x-tad-smaller>
<x-tad-smaller>University of California at Santa Cruz</x-tad-smaller>
<x-tad-smaller>Santa Cruz, California 95064</x-tad-smaller>
<x-tad-smaller>phone: +1-831-459-5367 (office)</x-tad-smaller>
<x-tad-smaller>+1-831-459-5292 (lab)</x-tad-smaller>
<x-tad-smaller>fax: +1-831-4593139 (fax)</x-tad-smaller>