aboutsummaryrefslogtreecommitdiff
path: root/doc/system_specific
diff options
context:
space:
mode:
Diffstat (limited to 'doc/system_specific')
-rw-r--r--doc/system_specific/FROM_SOURCE18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/system_specific/FROM_SOURCE b/doc/system_specific/FROM_SOURCE
index 074b6a91e..72660798d 100644
--- a/doc/system_specific/FROM_SOURCE
+++ b/doc/system_specific/FROM_SOURCE
@@ -866,13 +866,13 @@ This means that you have to make sure the proper tools are used in the build pro
866For example, after installing texinfo you need to make sure the new texinfo is actually used: 866For example, after installing texinfo you need to make sure the new texinfo is actually used:
867 867
868@example 868@example
869# echo 'export PATH="/usr/local/opt/texinfo/bin:$PATH"' >> ~/.bash_profile 869$ echo 'export PATH="/usr/local/opt/texinfo/bin:$PATH"' >> ~/.bash_profile
870@end example 870@end example
871 871
872Note: brew tells you the appropriate command when executing 872Note: brew tells you the appropriate command when executing
873 873
874@example 874@example
875# brew info texinfo 875$ brew info texinfo
876@end example 876@end example
877 877
878This may also be necessary for the gettext package. 878This may also be necessary for the gettext package.
@@ -881,9 +881,21 @@ Before you start compiling, you need to make sure gcc is used and not the clang
881On my system, gcc was actually ``gcc-7'' and gcc pointed to the clang compiler. 881On my system, gcc was actually ``gcc-7'' and gcc pointed to the clang compiler.
882 882
883@example 883@example
884# export CC=gcc-7 884$ export CC=gcc-7
885@end example 885@end example
886 886
887You might see configure failing telling you that it ``cannot run C compiled programs.''.
888In this case, you might need to open/run Xcode once and you will be prompted to
889install additonal packages.
890Then, you might have to manually install the command line tools from here https://developer.apple.com/download/more/ (you need an Apple ID for this).
891Install those and execute
892
893@example
894$open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
895@end example
896
897Then, configure will pass again.
898
887After this the standard compile instructions apply. 899After this the standard compile instructions apply.
888 900
889@c @node Build instructions for OpenBSD 6.2 901@c @node Build instructions for OpenBSD 6.2