Results 1 to 4 of 4

Thread: c4gl Script

  1. #1
    Join Date
    Sep 2006
    Posts
    17

    Unanswered: c4gl Script

    Hello Everyone,

    Can anyone help me verify this part of c4gl script for IBM Informix-4gl version 7.32.

    fi

    # If libraries are added or removed make sure to update -libs option
    if [ "x$STATOPT" != "x" ]
    then
    LINKLIBES="${INFDIR}/lib/esql/libifos.a ${INFDIR}/lib/esql/libifgen.a ${INFDIR}/lib/esql/libifsql.a ${INFDIR}/lib/libifasf.
    a ${INFDIR}/lib/esql/libifos.a ${INFDIR}/lib/esql/libifgen.a ${INFDIR}/lib/esql/libifgls.a -lnsl -lprot -lx /usr/lib/libgen.a -
    lsocket -lm -lsuds -lx -lelf -lprot -lx -ltinfo -lm ${INFDIR}/lib/esql/libifglx.a "
    FLIB=${INFDIR}/lib/tools/lib4gl.a
    MLIB=${INFDIR}/lib/tools/libnforms.a
    FELIB=${INFDIR}/lib/tools/libfe.a
    SHLIB=" "
    else
    LINKLIBES="-lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lprot -lx /usr/lib/libgen.a -lsocket -lm -lsuds -lx -lelf -lprot -
    lx -ltinfo -lm ${INFDIR}/lib/esql/checkapi.o -lifglx "
    SHLIB=-l4gsh
    fi


    SYSLIB=""
    TLIB="-lcurses "
    ###SYSNLIB=""
    SYSNLIB="-lnsl -lprot -lsocket -lx -lcurses -lm -lcrypt_i"
    TLILIB="/osr5/usr/lib/libnsl.so"
    DOLINK=yes


    I have a feeling that, some libraries could be missing for this version.

    Thanx in advance.



    Felix M Mutale

  2. #2
    Join Date
    Nov 2008
    Posts
    65
    Provided Answers: 1
    Sometime feelings can fool you
    Why do you think somethink is wrong? What does
    c4gl test.4gl
    returns?

  3. #3
    Join Date
    Sep 2006
    Posts
    17

    c4gl Script

    Hello there,

    I tried to compile i.e. c4gl test.4gl, I got test.o and no .4ge. Could there be something wrong.

    Concerned.

  4. #4
    Join Date
    Nov 2008
    Posts
    65
    Provided Answers: 1
    By any chance, did you get file named a.out?
    That is default executable name when compiling c programs on most unix/linux platforms.
    Try
    c4gl -o test.4ge test.4gl
    and if there's no error you should have test.4ge
    HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •