Be aware that disk utility actually changes the file system properties as you set the options, so make sure that it is set to case sensitive file system before creating the image. Basically, you want to create a sparse disk image with case sensitive file system somewhere on your disk. Luckily, this is actually quite easy with disk utility. So we need to create a case sensitive disk somehow. So trying to build gcc on the standard Mac disk will inevitably fail. Gcc is a Linux tool and Linux uses case sensitive file systems by default. 2017) is one remaining bug that requires this knowledge. Crosstool-ng is set up nicely to find these alternate versions for you during building. Some of these tools have their equivalent in macOS, so Homebrew installs them with a prefix g, so make becomes gmake and so on. So you need to install Homebrew, which is quite easy. So we need to build the tool from the git master for now. This is outdated and does not work on macOS at the time of writing. Note: Homebrew contains a formula to install crosstool-ng 1.22. Other methods might work as well but have not been tested. The package manager Homebrew can be used to install those tools quite easily. Building a beast like gcc, however, requires those extra functionalities. Some of the macOS build tools are not equivalent to the GNU/Linux versions. Nothing that follows will work without it. You need X-Code or the command line tools installed to provide build tools on macOS. These can be changed to any other location as desired, of course. In this tutorial I am using places and paths that I find logical. Most of the workarounds listed on these pages are no longer required, but at the time of writing a small number of new hiccups need to be considered. Those other websites are still a good source of information, and well worth visiting in the process. , so here is an update that works on macOS Sierra with the latest crosstool-ng version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |