2
0

pthreads-vms.com 395 B

1234567891011121314
  1. $! To compile mttest on VMS.
  2. $!
  3. $! WARNING: only tested with DEC C so far.
  4. $
  5. $ if (f$getsyi("cpu").lt.128)
  6. $ then
  7. $ arch := VAX
  8. $ else
  9. $ arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
  10. $ if (arch .eqs. "") then arch = "UNK"
  11. $ endif
  12. $ define/user openssl [--.include.openssl]
  13. $ cc/def=PTHREADS mttest.c
  14. $ link mttest,[--.'arch'.exe.ssl]libssl/lib,[--.'arch'.exe.crypto]libcrypto/lib