.so library

446 views
Skip to first unread message

Klinger André Almeida

unread,
Oct 8, 2014, 8:02:49 AM10/8/14
to multisoft...@googlegroups.com
Good Morning, 

Please provide an example to use .so library in FlagShip.

Thank you, 

Klinger

Paul

unread,
Oct 8, 2014, 8:47:18 AM10/8/14
to multisoft...@googlegroups.com
The .so is a dynamic library in Linux (comparable to .DLL in Windows). Same as static lib, it contains functions in binary code, accessible by standard C syntax. In FlagShip, you may access these functions via OpenC (see details in the FlagShip manual section EXT.4) or by separate .c source linked to your application (see the manual section EXT.2.6 and EXT.4.8). Examples are available in the FlagShip manual as well. Of course, knowledge of C is required in such a case.

Paul

Paulo Henrique

unread,
Oct 8, 2014, 8:48:13 AM10/8/14
to multisoft...@googlegroups.com
Hi,  to link a lib use "-l LIB_NAME". 

Example: FlagShip program.prg  -lfsocket -lfspgsq -lpq  -o program

Paulo

--
You received this message because you are subscribed to the Google
Groups "multisoft FlagShip" group. To post to this group, send email
to multisoft...@googlegroups.com. To unsubscribe from this
group, send email to multisoft-flags...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/multisoft-flagship?hl=en.
---
You received this message because you are subscribed to the Google Groups "multisoft FlagShip" group.
To unsubscribe from this group and stop receiving emails from it, send an email to multisoft-flags...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages