Skip to content

Commit 2829dfe

Browse files
authored
update: dynamic tutorial link (#4674)
1 parent e0a8a50 commit 2829dfe

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/topics/native/native-faq.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Kotlin/Native uses an automated memory management scheme that is similar to what
1515

1616
## How do I create a shared library?
1717

18-
Use the `-produce dynamic` compiler switch, or `binaries.sharedLib()` in Gradle.
18+
Use the `-produce dynamic` compiler option or `binaries.sharedLib()` in your Gradle build file:
1919

2020
```kotlin
2121
kotlin {
@@ -25,12 +25,14 @@ kotlin {
2525
}
2626
```
2727

28-
It will produce a platform-specific shared object (`.so` on Linux, `.dylib` on macOS, and `.dll` on Windows targets) and a
28+
It produces a platform-specific shared object (`.so` on Linux, `.dylib` on macOS, and `.dll` on Windows targets) and a
2929
C language header, allowing the use of all public APIs available in your Kotlin/Native program from C/C++ code.
3030

31+
[Complete the Kotlin/Native as a dynamic library tutorial](native-dynamic-libraries.md)
32+
3133
## How do I create a static library or an object file?
3234

33-
Use the `-produce static` compiler switch, or `binaries.staticLib()` in Gradle.
35+
Use the `-produce static` compiler option or `binaries.staticLib()` in your Gradle build file:
3436

3537
```kotlin
3638
kotlin {
@@ -40,7 +42,7 @@ kotlin {
4042
}
4143
```
4244

43-
It will produce a platform-specific static object (`.a` library format) and a C language header, allowing you to
45+
It produces a platform-specific static object (`.a` library format) and a C language header, allowing you to
4446
use all the public APIs available in your Kotlin/Native program from C/C++ code.
4547

4648
## How do I run Kotlin/Native behind a corporate proxy?

0 commit comments

Comments
 (0)