diff options
author | Lukas Larsson <[email protected]> | 2016-12-28 10:26:13 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2016-12-28 10:26:13 +0100 |
commit | 881090290515c69ecb54ac2a0e689f7be6ef736c (patch) | |
tree | e6923a8892cfb82c6932f06f089cd65ed86907f0 /system | |
parent | 691a6d0f68c5a2ef64315dd4d7759aa7aa8e2e99 (diff) | |
parent | 21307fdf279e87b15146f975b3e540d280a4a421 (diff) | |
download | otp-881090290515c69ecb54ac2a0e689f7be6ef736c.tar.gz otp-881090290515c69ecb54ac2a0e689f7be6ef736c.tar.bz2 otp-881090290515c69ecb54ac2a0e689f7be6ef736c.zip |
Merge branch 'reith/erts/c_port_driver_tutorial_fix/PR-1281' into maint
* reith/erts/c_port_driver_tutorial_fix/PR-1281:
fix library open error in linked-in port driver tutorial
Diffstat (limited to 'system')
-rw-r--r-- | system/doc/tutorial/c_portdriver.xmlsrc | 4 |
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> |