From 94b253fde793a7419f0eafe16b24f440d344a1c9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 25 Apr 2007 03:00:10 +0000 Subject: Steve Little's fixes to allow compilation on VMS 64-bit mode --- packages/vms/build_vms.com | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'packages/vms') diff --git a/packages/vms/build_vms.com b/packages/vms/build_vms.com index 5a97a3069..0c2cd0a7f 100755 --- a/packages/vms/build_vms.com +++ b/packages/vms/build_vms.com @@ -21,7 +21,9 @@ $! $! Parameter(s): $! $! P1 - LISTING will create .lis files during the C compile -$! DEBUG will compile and link with debug +$! DEBUG will compile and link with debug; also will create +$! compiler listings and linker map files +$! 64 will compile and link with 64-bit pointers $! $! Revisions: $! @@ -44,6 +46,7 @@ $! USE_SSLEAY to define if the target has SSL support built $! in. Changed the cc/define parameter accordingly. $! 11-FEB-2005, MSK, If [--.LIB]AMIGAOS.C and NWLIB.C are there, rename them $! 23-MAR-2005, MSK, relocated cc_qual define so that DEBUG option would work +$! 25-APR-2007, STL, allow compilation in 64-bit mode. $! $ on control_y then goto Common_Exit $ ctrl_y = 1556 @@ -75,25 +78,27 @@ $ set def 'thisdir' $! $ hpssl = 0 $ openssl = 0 -$ cc_qual = "/define=HAVE_CONFIG_H=1/OBJ=OBJDIR:" +$ cc_qual = "/define=HAVE_CONFIG_H=1" $ link_qual = "" $ if f$trnlnm( "CURL_BUILD_NOSSL") .eqs. "" $ then $ if f$trnlnm( "OPENSSL") .nes. "" $ then $ openssl = 1 -$ cc_qual = "/define=(HAVE_CONFIG_H=1,USE_SSLEAY=1)/OBJ=OBJDIR:" +$ cc_qual = "/define=(HAVE_CONFIG_H=1,USE_SSLEAY=1)" $ if ( f$trnlnm( "SSL$INCLUDE") .nes. "") .and. - ( f$trnlnm( "CURL_BUILD_NOHPSSL") .eqs. "") $ then hpssl = 1 $ endif $ endif $ endif -$ if p1 .eqs. "LISTING" then cc_qual = cc_qual + "/LIST/MACHINE" +$ cc_qual = cc_qual + "/OBJ=OBJDIR:" +$ if p1 .eqs. "64" then cc_qual = cc_qual + "/POINTER=64" +$ if p1 .eqs. "LISTING" then cc_qual = cc_qual + "/LIST/SHOW=ALL" $ if p1 .eqs. "DEBUG" $ then -$ cc_qual = cc_qual + "/LIST/MACHINE/DEBUG/NOOPT" -$ link_qual = "/DEBUG" +$ cc_qual = cc_qual + "/LIST/SHOW=ALL/DEBUG/NOOPT" +$ link_qual = "/DEBUG/MAP" $ endif $ msg_qual = "/OBJ=OBJDIR:" $! -- cgit v1.2.3