AIX 4.3 vac.cfg (Batch Compiler Configuration File)

*
* COMPONENT_NAME: (CC) AIX XL C-C++ Compiler
*
* FUNCTIONS: C/C++ Configuration file
*
* ORIGINS: 27
*
* (C) COPYRIGHT International Business Machines Corp. 1991, 1999
* All Rights Reserved
* Licensed Materials - Property of IBM
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
* ANSI C compiler, UNIX header files
xlc:    use        = DEFLT
	crt        = /lib/crt0.o
	mcrt       = /lib/mcrt0.o
	gcrt       = /lib/gcrt0.o
        libraries  = -lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        options    = -qansialias

* C compiler, extended mode
cc:     use        = DEFLT
	crt        = /lib/crt0.o
	mcrt       = /lib/mcrt0.o
	gcrt       = /lib/gcrt0.o
        libraries  = -lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        options    = -qlanglvl=extended,-qnoro,-qnoroconst

xlc128: use        = DEFLT
	crt        = /lib/crt0.o
	mcrt       = /lib/mcrt0.o
	gcrt       = /lib/gcrt0.o
        libraries  = -lc128,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        options    = -qansialias,-qldbl128

* C compiler, extended mode
cc128:  use        = DEFLT
	crt        = /lib/crt0.o
	mcrt       = /lib/mcrt0.o
	gcrt       = /lib/gcrt0.o
        libraries  = -lc128,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        options    = -qlanglvl=extended,-qnoro,-qnoroconst,-qldbl128

* Strict ANSI compiler, ANSI headers
c89:    use        = DEFLT
	crt        = /lib/crt0.o
	mcrt       = /lib/mcrt0.o
	gcrt       = /lib/gcrt0.o
        libraries  = -lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        options    = -D_ANSI_C_SOURCE,-qansialias,-qnolonglong,-qstrict_induction

* C++ compiler
xlC:    use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries2 = -L/usr/vacpp/lib,-lC,-lm,-lpthreads,-lc
        proflibs   = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
	hdlibs     = -L/usr/vac/lib,-lhC,-lhmd
        options    = -qansialias

* C++ compiler with 128 bit long double
xlC128: use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries2 = -L/usr/vacpp/lib,-lC128,-lC,-lm,-lpthreads,-lc128,-lc
        proflibs   = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
	hdlibs     = -L/usr/vac/lib,-lhC,-lhmd
        options    = -qansialias,-qldbl128

* standard c compiler aliased as xlc_r (AIX Threads)
xlc_r:  use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries  = -L/usr/lib/threads,-lpthreads,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhmd
        options    = -qansialias,-D_THREAD_SAFE,-D__VACPP_MULTI__

* xlc128_r
xlc128_r: use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries  = -L/usr/lib/threads,-lpthreads,-lc128,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhmd
        options    = -qansialias,-qldbl128,-D_THREAD_SAFE,-D__VACPP_MULTI__

* standard c compiler aliased as cc_r (AIX Threads)
cc_r:   use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries  = -L/usr/lib/threads,-lpthreads,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhmd
        options    = -qlanglvl=extended,-qnoro,-qnoroconst,-D_THREAD_SAFE,-D__VACPP_MULTI__

* cc128_r
cc128_r:   use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries  = -L/usr/lib/threads,-lpthreads,-lc128,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhmd
        options    = -qlanglvl=extended,-qnoro,-qnoroconst,-qldbl128,-D_THREAD_SAFE,-D__VACPP_MULTI__

* xlC C++ compiler aliased as xlC_r (AIX Threads)
xlC_r:  use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        options    = -qansialias,-D_THREAD_SAFE,-D__VACPP_MULTI__
        libraries2 = -L/usr/lib/threads,-L/usr/vacpp/lib,-lC,-lpthreads,-lm,-lc
        proflibs   = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhC,-lhmd

* xlC C++ compiler with 128 bit long double aliased as xlC128_r (AIX Threads)
xlC128_r: use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries2 = -L/usr/lib/threads,-L/usr/vacpp/lib,-lC128,-lC,-lpthreads,-lc128,-lm,-lc
        proflibs   = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
	hdlibs     = -L/usr/vac/lib,-lhC,-lhmd
        options    = -qansialias,-qldbl128,-D_THREAD_SAFE,-D__VACPP_MULTI__

* standard c compiler aliased as xlc_r4 (DCE)
xlc_r4:  use        = DEFLT
         crt        = /lib/crt0.o
         mcrt       = /lib/mcrt0.o
         gcrt       = /lib/gcrt0.o
         libraries  = -L/usr/lib/threads,-ldcelibc_r,-ldcepthreads,-lpthreads_compat,-lpthreads,-lc
         proflibs   = -L/lib/profiled,-L/usr/lib/profiled
         hdlibs     = -L/usr/vac/lib,-lhmd
         options    = -qansialias,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7,-D_AIX32_THREADS=1,-D_AES_SOURCE,-D_AIX41,-I/usr/include/dce

* xlc128_r4
xlc128_r4:  use        = DEFLT
         crt        = /lib/crt0.o
         mcrt       = /lib/mcrt0.o
         gcrt       = /lib/gcrt0.o
         libraries  = -L/usr/lib/threads,-ldcelibc_r,-ldcepthreads,-lpthreads_compat,-lpthreads,-lc128,-lc
         proflibs   = -L/lib/profiled,-L/usr/lib/profiled
         hdlibs     = -L/usr/vac/lib,-lhmd
         options    = -qansialias,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7,-D_AIX32_THREADS=1,-D_AES_SOURCE,-D_AIX41,-I/usr/include/dce,-qldbl128


* standard c compiler aliased as cc_r4 (DCE)
cc_r4:  use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries  = -L/usr/lib/threads,-ldcelibc_r,-ldcepthreads,-lpthreads_compat,-lpthreads,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhmd
        options    = -qlanglvl=extended,-qnoro,-qnoroconst,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7,-D_AIX32_THREADS=1,-D_AES_SOURCE,-D_AIX41,-I/usr/include/dce

* cc128_r4
cc128_r4:  use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries  = -L/usr/lib/threads,-ldcelibc_r,-ldcepthreads,-lpthreads_compat,-lpthreads,-lc128,-lc
        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhmd
        options    = -qlanglvl=extended,-qnoro,-qnoroconst,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7,-D_AIX32_THREADS=1,-D_AES_SOURCE,-D_AIX41,-I/usr/include/dce,-qldbl128

* xlC C++ compiler aliased as xlC_r4 (DCE)
xlC_r4: use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries2 = -L/usr/lib/threads,-L/usr/vacpp/lib,-lC,-ldcelibc_r,-ldcepthreads,-lpthreads_compat,-lpthreads,-lm,-lc
        proflibs   = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhC,-lhmd
        options    = -qansialias,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7,-D_AIX32_THREADS=1,-D_AIX41,-D_AES_SOURCE,-I/usr/include/dce

* xlC C++ compiler with 128 bit long double aliased as xlC128_r4 (DCE)
xlC128_r4: use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries2 = -L/usr/lib/threads,-L/usr/vacpp/lib,-lC128,-lC,-ldcelibc_r,-ldcepthreads,-lpthreads_compat,-lm,-lpthreads,-lc128,-lc_r,-lc
        proflibs   = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
	hdlibs     = -L/usr/vacpp/lib,-lhC,-lhmd
        options    = -qansialias,-qldbl128,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7,-D_AIX32_THREADS=1,-D_AIX41,-D_AES_SOURCE,-I/usr/include/dce


* standard c compiler aliased acrt0r (AIX POSIX Draft 7Threads)
xlc_r7: use         = DEFLT
        crt         = /lib/crt0.o
        mcrt        = /lib/mcrt0.o
        gcrt        = /lib/gcrt0.o
        libraries   = -L/usr/lib/threads,-lpthreads_compat,-lpthreads,-lc_r,-lc
        proflibs    = -L/lib/profiled,-L/usr/lib/profiled
        hdlibs      = -L/usr/vac/lib,-lhmd
        options     = -qansialias,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7

xlc128_r7: use         = DEFLT
        crt         = /lib/crt0.o
        mcrt        = /lib/mcrt0.o
        gcrt        = /lib/gcrt0.o
        libraries   = -L/usr/lib/threads,-lpthreads_compat,-lpthreads,-lc128,-lc_r,-lc
        proflibs    = -L/lib/profiled,-L/usr/lib/profiled
        hdlibs      = -L/usr/vac/lib,-lhmd
        options     = -qansialias,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7,-qldbl128

* standard c compiler aliased as cc_r (AIX POSIX Draft 7Threads)
cc_r7:   use        = DEFLT
         crt        = /lib/crt0.o
         mcrt       = /lib/mcrt0.o
         gcrt       = /lib/gcrt0.o
         libraries  = -L/usr/lib/threads,-lpthreads_compat,-lpthreads,-lc_r,-lc
         proflibs   = -L/lib/profiled,-L/usr/lib/profiled
         hdlibs     = -L/usr/vac/lib,-lhmd
         options    = -qlanglvl=extended,-qnoro,-qnoroconst,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7

cc128_r7:   use        = DEFLT
         crt        = /lib/crt0.o
         mcrt       = /lib/mcrt0.o
         gcrt       = /lib/gcrt0.o
         libraries  = -L/usr/lib/threads,-lpthreads_compat,-lpthreads,-lc128,-lc_r,-lc
         proflibs   = -L/lib/profiled,-L/usr/lib/profiled
         hdlibs     = -L/usr/vac/lib,-lhmd
         options    = -qlanglvl=extended,-qnoro,-qnoroconst,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7,-qldbl128

* xlC C++ compiler aliased as xlC_r7 (AIX POSIX Draft 7Threads)
xlC_r7: use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries2 = -L/usr/lib/threads,-L/usr/vacpp/lib,-lC,-lpthreads_compat,-lpthreads,-lc_r,-lm,/usr/lib/libc.a
        proflibs   = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
        hdlibs     = -L/usr/vac/lib,-lhC,-lhmd
        options    = -qansialias,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7

* xlC C++ compiler with 128 bit long double aliased as xlC128_r7 (AIX POSIX Draft 7Threads)
xlC128_r7: use        = DEFLT
        crt        = /lib/crt0.o
        mcrt       = /lib/mcrt0.o
        gcrt       = /lib/gcrt0.o
        libraries2 = -L/usr/lib/threads,-L/usr/vacpp/lib,-lC128,-lC,-lpthreads_compat,-lm,-lpthreads,-lc128,-lc
        proflibs   = -L/usr/vacpp/lib/profiled,-L/lib/profiled,-L/usr/lib/profiled
	hdlibs     = -L/usr/vac/lib,-lhC,-lhmd
        options    = -qansialias,-qldbl128,-D_THREAD_SAFE,-D__VACPP_MULTI__,-D_AIX_PTHREADS_D7

* common definitions
DEFLT:  cppcomp   = /usr/vacpp/exe/xlCentry
        ccomp     = /usr/vac/exe/xlcentry
        code      = /usr/vac/exe/xlCcode
	cpp	  = /usr/vac/exe/xlCcpp
        munch     = /usr/vacpp/exe/munch
        ipa       = /usr/vac/exe/ipa
        dis       = /usr/vac/exe/dis
        cppfilt   = /usr/vacpp/bin/c++filt
	bolt      = /usr/vac/exe/bolt
        as        = /bin/as
        ld        = /bin/ld
        xlC       = /usr/vacpp/bin/xlC
	cppinc    = /usr/vacpp/include
        options   = -D_AIX,-D_AIX32,-D_AIX41,-D_AIX43,-D_IBMR2,-D_POWER,-bpT:0x10000000,-bpD:0x20000000
	ldopt     = "b:o:e:u:R:H:Y:Z:L:T:A:k:j:"
        hdlibs    = -L/usr/vac/lib,-lhmd
        xlCcopt   = -qansialias
        crt_64    = /lib/crt0_64.o
        mcrt_64   = /lib/mcrt0_64.o
        gcrt_64   = /lib/gcrt0_64.o
        smplibraries = -lxlsmp
        resexp    = /usr/vacpp/lib/res.exp