summaryrefslogtreecommitdiff
path: root/ipl/packs/loadfuncpp/doc/compile.htm
diff options
context:
space:
mode:
Diffstat (limited to 'ipl/packs/loadfuncpp/doc/compile.htm')
-rw-r--r--ipl/packs/loadfuncpp/doc/compile.htm57
1 files changed, 57 insertions, 0 deletions
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 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+
+<HEAD>
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
+ <TITLE>loadfuncpp</TITLE>
+ <LINK REL="stylesheet" TYPE="text/css" HREF="loadfuncpp.css">
+</HEAD>
+
+<BODY>
+
+<H3></H3>
+<CENTER>
+<P>
+<TABLE BORDER="0" WIDTH="700">
+ <TR>
+ <TD WIDTH="100%">
+ <H1 ALIGN="CENTER"><BR>
+ Loadfuncpp</H1>
+ <H2 ALIGN="CENTER">Compiler Options</H2>
+ <H3 ALIGN="CENTER">Carl Sturtivant, January 2009</H3>
+ <BLOCKQUOTE>
+ <BLOCKQUOTE>
+ <P>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. <BR>
+ <BR>
+ 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.
+ </BLOCKQUOTE>
+ <H2>Linux</H2>
+ <P><FONT SIZE="2" COLOR="black" FACE="Courier New, Courier">g++ -fPIC -shared -o </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">file</FONT></I><FONT
+ SIZE="2" COLOR="black" FACE="Courier New, Courier">.so </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">file</FONT></I><FONT
+ SIZE="2" COLOR="black" FACE="Courier New, Courier">.cpp</FONT></P>
+ <H2>Cygwin</H2>
+ <P><FONT SIZE="2" COLOR="black" FACE="Courier New, Courier">g++ -shared -o </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">file</FONT></I><FONT
+ SIZE="2" COLOR="black" FACE="Courier New, Courier">.so </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">file</FONT></I><FONT
+ SIZE="2" COLOR="black" FACE="Courier New, Courier">.cpp </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">iload_so_directory</FONT></I><FONT
+ SIZE="2" COLOR="black" FACE="Courier New, Courier">/iload.a</FONT></P>
+ <H2>Macintosh</H2>
+ <P><FONT SIZE="2" COLOR="black" FACE="Courier New, Courier">g++ -flat_namespace -bundle -undefined suppress -o
+ </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">file</FONT></I><FONT SIZE="2" COLOR="black" FACE="Courier New, Courier">.so
+ </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">file</FONT></I><FONT SIZE="2" COLOR="black" FACE="Courier New, Courier">.cpp</FONT>
+ <H2>Solaris</H2>
+ <P><FONT SIZE="2" COLOR="black" FACE="Courier New, Courier">g++ -fPIC -shared -o </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">file</FONT></I><FONT
+ SIZE="2" COLOR="black" FACE="Courier New, Courier">.so </FONT><I><FONT SIZE="2" FACE="Courier New, Courier">file</FONT></I><FONT
+ SIZE="2" COLOR="black" FACE="Courier New, Courier">.cpp</FONT>
+ </BLOCKQUOTE>
+ </TD>
+ </TR>
+</TABLE>
+
+</CENTER>
+
+</BODY>
+
+</HTML>