If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > fgldb !!!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-17-11, 05:30
wahiba wahiba is offline
Registered User
 
Join Date: Jun 2004
Location: Madrid
Posts: 13
Angry 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.
Reply With Quote
  #2 (permalink)  
Old 10-24-11, 11:44
wahiba wahiba is offline
Registered User
 
Join Date: Jun 2004
Location: Madrid
Posts: 13
It ok for this problem.
Thanks.
Reply With Quote
  #3 (permalink)  
Old 10-31-11, 11:21
begooden-it begooden-it is offline
Registered User
 
Join Date: Sep 2011
Location: Pont l'Abbé, Brittany, France
Posts: 183
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On