aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/tutorial
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-12-28 10:26:24 +0100
committerLukas Larsson <[email protected]>2016-12-28 10:26:24 +0100
commitd68a5abf0a5911914f4b0783a96edfd6dd95b4ce (patch)
treeaed9c1902ccaee06cb44b0a4465218c8a5560ab0 /system/doc/tutorial
parent8e9ca427ec084e8a57c2f819741d6decfee15600 (diff)
parent881090290515c69ecb54ac2a0e689f7be6ef736c (diff)
downloadotp-d68a5abf0a5911914f4b0783a96edfd6dd95b4ce.tar.gz
otp-d68a5abf0a5911914f4b0783a96edfd6dd95b4ce.tar.bz2
otp-d68a5abf0a5911914f4b0783a96edfd6dd95b4ce.zip
Merge branch 'maint'
Diffstat (limited to 'system/doc/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>