aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Ghassemi Nasr <[email protected]>2016-12-13 17:05:35 +0330
committerAmir Ghassemi Nasr <[email protected]>2016-12-13 17:05:35 +0330
commit21307fdf279e87b15146f975b3e540d280a4a421 (patch)
tree231b3a933664dbeaf3fa8cdc232b88c6f9566b99
parentb47d104994c6f11301f23b0675ed5f06f3e25922 (diff)
downloadotp-21307fdf279e87b15146f975b3e540d280a4a421.tar.gz
otp-21307fdf279e87b15146f975b3e540d280a4a421.tar.bz2
otp-21307fdf279e87b15146f975b3e540d280a4a421.zip
fix library open error in linked-in port driver tutorial
-rw-r--r--system/doc/tutorial/c_portdriver.xmlsrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/doc/tutorial/c_portdriver.xmlsrc b/system/doc/tutorial/c_portdriver.xmlsrc
index 933e2395a3..da680642b6 100644
--- a/system/doc/tutorial/c_portdriver.xmlsrc
+++ b/system/doc/tutorial/c_portdriver.xmlsrc
@@ -161,8 +161,8 @@ decode([Int]) -> Int.</pre>
<title>Running the Example</title>
<p><em>Step 1.</em> Compile the C code:</p>
<pre>
-unix> <input>gcc -o exampledrv -fpic -shared complex.c port_driver.c</input>
-windows> <input>cl -LD -MD -Fe exampledrv.dll complex.c port_driver.c</input></pre>
+unix> <input>gcc -o example_drv.so -fpic -shared complex.c port_driver.c</input>
+windows> <input>cl -LD -MD -Fe example_drv.dll complex.c port_driver.c</input></pre>
<p><em>Step 2.</em> Start Erlang and compile the Erlang code:</p>
<pre>
> <input>erl</input>