Primer 0.5 under VMS 5.4

John Nash num208jn at MBDS.NRC.CA
Mon May 18 18:35:21 EST 1992


In article <1992May15.170341.201612 at uctvax.uct.ac.za>, jds at uctvax.uct.ac.za writes:
>Dear molbionetters,
>
>Has anyone had success compiling Primer 0.5 (Whitehead institute) under
>VMS V5.4?  I have FTP'd the files 2 times and even got a friend to send
>the files on disk.  Here is what I have done and the results obtained:
>
>I have used the makefile.com provided with Primer as well as creating my
>own.  The makefile I create is below:
>
>                    $ set def uct7:[gcg.primer]
>                    $ cc/list PRIMER
>                    $ cc/list TEXT
>                    $ link/Exec=primer primer,text
>[remainder deleted]

Joe, and others..

After my private letter to Joe telling him that I had the same
problem, I started poking around the VAX CC compiler (which I don't
know very well!!!), and came up with the following solution:

I have the following LINK LIBRARIES defined in my login.com file:

$! The following commands define my C programming link libraries:
$ DEFINE LNK$LIBRARY SYS$LIBRARY:VAXCCURSE
$ DEFINE LNK$LIBRARY_1 SYS$LIBRARY:VAXCRTLG !<-- (this is important -JHN)
$ DEFINE LNK$LIBRARY_2 SYS$LIBRARY:VAXCRTL

In Primer's MAKEVAX.COM file, change the following:

$compile:
$  cc'opt' PRIMER
$  cc'opt' TEXT
$!   ----------

to:

$compile:
$  cc'opt' /G_FLOAT PRIMER
$  cc'opt' /G_FLOAT TEXT
$!   ----------

Then execute the MAKEVAX.COM file, and everything should work out wrt
the floating points (well it just did with me).

All the best,




More information about the Bio-soft mailing list