You will need a functioning Mac in order to download a copy of the Mac OS. You will also need a 16 GB flash drive (these are about $5 on Amazon), and a small screwdriver to assemble your hardware. 2) Buy recommended hardware Do your research to make sure that you are buying hardware that other people have used in hackintoshes before.

  1. Question from Chris B: I’d really like to have a Mac, but since I can’t afford one I’d like to build a computer and install Mac OS on it. I know people build their own Windows PCs from scratch all the time. Can you tell me how to build my own Mac? I have $500 that I can spend on it.
  2. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or.pkg installer. Use the 'createinstallmedia' command in Terminal.
  3. Explore the world of Mac. Check out MacBook Pro, MacBook Air, iMac, Mac mini, and more. Visit the Apple site to learn, buy, and get support.
Build A Body Mac OS

Ever need to know what OS X Build correlates to which version? The simplest way to find out what version your running is in the Terminal with the command sw_vers.

VersionBuild
macOS Sierra
10.12.416E195
10.12.316D32
10.12.216C67
10.12.116B2555 or 16B2557
10.1216A323
OS X El Capitan
10.11.615G31
10.11.515F34
10.11.415E65
10.11.315D21
10.11.215C50
10.11.115B42
10.1115A284
OS X Yosemite
10.10.514F27
10.10.414E46
10.10.314D136
10.10.214C109
10.10.114B25
10.1014A389
Mavericks
10.9.513F34
10.9.413E28
10.9.313D65
10.9.213C64
10.9.113B42
10.913A603
Mountain Lion
10.8.512F37, 12F45, 12F2029
10.8.412E55
10.8.312D78
10.8.212C54, 12C60, 12C2034
10.8.112B19
10.812A269
Earlier Versions
Start and end builds only
OS X Lion 10.7.511G56, 11G63
OS X Lion 10.711A511
Mac OS X Snow Leopard 10.6.810K540, 10K549
Mac OS X Snow Leopard 10.610A432, 10A433 (Server)
Mac OS X Leopard 10.5.89L30, 9L34 (Server)
Mac OS X Leopard 10.59A581
Mac OS X Tiger 10.4.118S165
Mac OS X Tiger 10.48A428
Mac OS X Panther 10.3.97W98
Mac OS X Panther 10.37B85
Mac OS X Jaguar 10.2.86R65, 6R73
Mac OS X Jaguar 10.26C115
Mac OS X Puma 10.1.55S60, 5S66
Mac OS X Puma 10.15G64, 5L14, 5L17b
Mac OS X Cheetah 10.04K78
< Development
This page contains changes which are not marked for translation.
  • → Open Issues
English • ‎español • ‎日本語

This page describes how to set up a build environment for LibreOffice on macOS 10.14.4. Building master requires Xcode 11.3 or later, which requires macOS 10.14.4 or later.

Prerequisites

  1. Install Xcode from the App Store. The intent is that LibreOffice will always be buildable with the current Xcode on current macOS. Right after a new Xcode version is released, or after a new macOS version is released, there might be a few days while that is not true. Just be patient in that case. Using older Xcode versions on older macOS versions might also work. What you are absolutely not expected to do is to specifically download some old Xcode version or a separate old SDK and use those.
  2. Run Xcode at least once (you don't need to open or create any project)
  3. If you are planning to work on the parts of LibreOffice that are implemented in Java, mainly the HSQLDB embedded database in Base, you need to download and install a JDK (Java SE Development Kit): Oracle's Java SE Development Kit. But that is entirely optional. If you want to avoid Java, just use the --without-java option in your autogen.input or on the autogen.sh command line, when you get that far.

Notice: according to http://document-foundation-mail-archive.969070.n3.nabble.com/About-building-on-Apple-Silicon-M1-tt4298988.html, everything should be ok to build with mac containing processor Apple Silicon M1 except a known issue with in-process JVM (see https://lists.freedesktop.org/archives/libreoffice/2020-December/086490.html)

Building

See Development/lode.

Building Tips

See platform-independent tips at Development/GenericBuildingHints

Building in a ssh session

In some cases it seems that if you are building in a ssh session, some unit tests fail unless you also have a windowing session open to the machine, either on the physical console or through Screen Sharing.

Performance

Building LibreOffice takes time, a lot of time. Exactly how much depends on how powerful your machine is. But there are tools you can use to speed-up things.

New

ccache

ccache is short for compiler cache - and it is exactly that. It saves tons of time by not running the actual compiler when little has changed in the source codebetween two builds. But note that unless you explicitly do 'make clean' often, that is not typically the case, and using ccache just because you think it maybe helps is not a good idea.

Get it here: [1]

Build it like this:

You will also need to ensure the following is defined, e.g. in .bash_profile in your home folder, if using ccache (see Development/Building LibreOffice with Clang for full details), otherwise clang will report errors and show unnecessary warnings:

The default cache limit (5 GB) is not large enough to be useful for a LibreOffice build, but you can increase it, for instance to 30 GB:

To check what the current cache limit is, and see ccache statistics, run it with the -s command-line option:


Upgrading to a recent macOS on unsupported machines

New Mac Os 11

Using various unofficial third-party tools it might be possible to run newer macOS versions on machines that are older than what that macOS version supports. If you need that, search for it. It is not relevant to duplicate such information here.

Don't bother building the ODK

Build A Body Mac Os Download

It is likely that you don't need to build the 'ODK' (Office Development Kit), especially as building that would require installing one more dependency: doxygen. Use the --disable-odk option in your autogen.input or on the autogen.sh command line.

See also

Build A Body Mac Os 11

Retrieved from 'https://wiki.documentfoundation.org/index.php?title=Development/BuildingOnMac&oldid=358693'