From f627f77f23d1497c9e1f4269b5c8812d12b42f18 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 28 Jan 2013 19:02:21 +0000 Subject: Imported Upstream version 9.5.0 --- ipl/packs/loadfuncpp/doc/compile.htm | 57 ++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 ipl/packs/loadfuncpp/doc/compile.htm (limited to 'ipl/packs/loadfuncpp/doc/compile.htm') diff --git a/ipl/packs/loadfuncpp/doc/compile.htm b/ipl/packs/loadfuncpp/doc/compile.htm new file mode 100644 index 0000000..04a8514 --- /dev/null +++ b/ipl/packs/loadfuncpp/doc/compile.htm @@ -0,0 +1,57 @@ + + + + + + loadfuncpp + + + + + +

+
+

+ + + + +
+


+ Loadfuncpp

+

Compiler Options

+

Carl Sturtivant, January 2009

+
+
+

When compiling a shared object (or dll) to dynamically load functions into Icon via loadfuncpp, try the following + compilation options, which have been successfully used to build libraries with version 0.91alpha on the systems + below.
+
+ Everything is simplest if all shared objects are placed in the icon/bin directory and all linkable Icon (.u1/.u2 + files) are placed in the icon/lib directory. +

+

Linux

+

g++ -fPIC -shared -o file.so file.cpp

+

Cygwin

+

g++ -shared -o file.so file.cpp iload_so_directory/iload.a

+

Macintosh

+

g++ -flat_namespace -bundle -undefined suppress -o + file.so + file.cpp +

Solaris

+

g++ -fPIC -shared -o file.so file.cpp +

+
+ +

+ + + + -- cgit v1.2.3