[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ccp4bb]: RE SAPI - LINUX ADVICE - CCP4 COMPATIBLE PROGRAM



***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***

Dear Mike,

On a linux box, you will need a few more flags to compile SAPI (or any
other ccp4 programs):

f77 -o sapi -static -fno-second-underscore -fno-globals sapi.f
-L$CCP4_LIB -lccp4

Hope this will help.

Quan

Donovan Michael wrote:
> 
> ***  For details on how to be removed from this list visit the  ***
> ***          CCP4 home page http://www.ccp4.ac.uk         ***
> 
> Dear ccp4bb,
>         I'm trying to compile a fortran program SAPI on a linux box that has
> redhat 6.2 compilers etc.
> 
> To compile: f77 -o sapi sapi.f -L$CCP4_LIB -lccp4
> 
> However when I do this I'm not getting an executable. I'm able to compile
> the ccp4 suite by following the instructions.
> 
> Hoping someone can point me in the right direction.
> 
> Mike