dock for osx.
- From: Kim Branson <kim.branson|at|csiro.au>
- Subject: dock for osx.
- 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
<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
i.e
</x-tad-smaller>
#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
<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>Thanks.</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>USA</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>
<x-tad-smaller>url:
http://chemistry.ucsc.edu/~wgscott/</x-tad-smaller>