Skip to content

Commit f16ad36

Browse files
authored
Update docs (#1411)
1 parent 075082f commit f16ad36

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

docs/src/building.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ You should be aware of two incompatibilities in particular:
183183
the `std::string` ABI, you must make sure that the user will run a binary
184184
matching their `std::string` ABI. You can manually specify the `std::string`
185185
ABI in the `compiler_abi` part of the platform, but `BinaryBuilder` lets you
186-
automatically expand the list of platform to include an entry for the C++03
187-
`std::string` ABI and another one for the C++11 `std::string` ABI, by using
188-
the [`expand_cxxstring_abis`](@ref) function:
186+
automatically expand the list of platform to include an entry for the
187+
supported C++ `std::string` ABIs (by default only C++11), by using the
188+
[`expand_cxxstring_abis`](@ref) function:
189189

190190
```jldoctest
191191
julia> using BinaryBuilder
@@ -195,8 +195,7 @@ You should be aware of two incompatibilities in particular:
195195
Linux x86_64 {libc=glibc}
196196
197197
julia> expand_cxxstring_abis(platforms)
198-
2-element Vector{Platform}:
199-
Linux x86_64 {cxxstring_abi=cxx03, libc=glibc}
198+
1-element Vector{Platform}:
200199
Linux x86_64 {cxxstring_abi=cxx11, libc=glibc}
201200
```
202201

@@ -216,7 +215,8 @@ You should be aware of two incompatibilities in particular:
216215
version compatible with their own. Also in this case you can either manually
217216
specify the `libgfortran` version in the `compiler_abi` part fo the platform
218217
or use a function, [`expand_gfortran_versions`](@ref), to automatically expand
219-
the list of platform to include all possible `libgfortran` versions:
218+
the list of platform to include all supported `libgfortran` versions (by
219+
default v5 and later):
220220

221221
```jldoctest
222222
julia> using BinaryBuilder
@@ -226,9 +226,7 @@ You should be aware of two incompatibilities in particular:
226226
Linux x86_64 {libc=glibc}
227227
228228
julia> expand_gfortran_versions(platforms)
229-
3-element Vector{Platform}:
230-
Linux x86_64 {libc=glibc, libgfortran_version=3.0.0}
231-
Linux x86_64 {libc=glibc, libgfortran_version=4.0.0}
229+
1-element Vector{Platform}:
232230
Linux x86_64 {libc=glibc, libgfortran_version=5.0.0}
233231
```
234232

0 commit comments

Comments
 (0)