ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Wong" <william.w...@cyanea.com>
Subject using ant to compile c/c++ in USS - z/OS
Date Thu, 17 Jul 2003 17:26:28 GMT
Hi:
 
Just wondering is anyone able to use ant to compile c/c++ in USS (z/OS)
environment.  
 
I'm able to make ant to do the compilation; however, the executable it
generated is not able to run, it get a format errors.  Here's the output
from ant -v:
 
lib:
     [exec] Current OS is z/OS
     [exec] Output redirected to /tmp/compileOut
     [exec] Setting environment variable: _CC_PVERSION=0x21020000
     [exec] Executing 'c++' with arguments:
     [exec] '-2'
     [exec] '-D_ALL_SOURCE'
     [exec] '-D__ZOS'
     [exec] '-W'
     [exec]
'c,source,longlong,exportall,dll,langlvl(extended),float(ieee),CONVLIT(I
SO8859-1)'
     [exec] '-W'
     [exec] 'l,map,dll,DYNAM=DLL,COMPAT=PM3'
     [exec] '-Wc,"target(LE,zOSV1R2)","target(zOSV1R2)"'
     [exec] '-I'
     [exec] '/usr/lpp/java/IBM/J1.3/include'
     [exec] '-I'
     [exec] '/usr/lpp/java/IBM/J1.3/include/mvs'
     [exec] '-o'
     [exec] 'libxyz.so'
     [exec] 'abc.C'
     [exec] 'edf.C'
     [exec] 'ghi.o'
     [exec] '/usr/lpp/java/IBM/J1.3/bin/classic/libjvm.x'
     [exec]
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] Result: 3


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message