Results 1 to 3 of 3

Thread: fgldb !!!

  1. #1
    Join Date
    Jun 2004
    Location
    Madrid
    Posts
    14

    Angry Unanswered: fgldb !!!

    Hi,

    I have a problem with fgldb (informix-se), I do not know how to tie
    the library files (*. a) of the application.

    example program pgm_x.4ge (main.4gl, file1.4gl, file2.4gl, file_lib.a, file_lib2.a)

    fglpc main.4gl
    fglpc file1.4gl
    fglpc file2.4gl

    cat main.4go file1.4go file2.4go > pgm_x.4gi

    What about the two libraries : file_lib.a and file_lib2.a ????

    error when i execute : fgldb pgm_x.4gi

    Thanks for your help.

  2. #2
    Join Date
    Jun 2004
    Location
    Madrid
    Posts
    14
    It ok for this problem.
    Thanks.

  3. #3
    Join Date
    Sep 2011
    Location
    Pont l'Abbé, Brittany, France
    Posts
    381
    Provided Answers: 1
    Hi Wahiba,

    .a in compiled i-4GL are .o 's ( object ), gathered into a library, generally with the ar command.

    With fglpc ( the informix 4gl RDS pseudo code compiler ), the notion of archive does not exist per-se.

    What you have to do is to compile all of the .a archive file, then concatenate them into a single .4go file.

    Beware with limits of a .4go, ie number of code lines, space for global variables etc... The size is not infinite; You will have errors at runtime in this case.

    Second solution : ask Marc, he will surely know it :-)

    Best regards

Posting Permissions

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