Subject: dock for osx.

From: Kim Branson <kim.branson|at|csiro.au>
Date: Thu, 29 Jan 2004 22:18:43 +1100

Hi all,

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

You need to include <sys/time.h> before <sys/resource.h>,  you
  need to include <sys/types.h>  in parm.c
i.e

#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.

cheers

kim

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

> You need to use
>
>
>
> -lcc_dynamic
>
>
>
>
> If you get it to work, would you be kind enough to send a summary of 
> what it takes?
>
>
>
> Thanks.
>
>
>
>
> William G. Scott
>
>
>
> Associate Professor
>
> Department of Chemistry and Biochemistry
>
> and The Center for the Molecular Biology of RNA
>
> Sinsheimer Laboratories
>
> University of California at Santa Cruz
>
> Santa Cruz, California 95064
>
> USA
>
>
>
> phone: +1-831-459-5367 (office)
>
> +1-831-459-5292 (lab)
>
> fax: +1-831-4593139 (fax)
>
> url: http://chemistry.ucsc.edu/~wgscott/
>
>
>
>
>