Re: Compiling static executables on old Mac OS X 10.6.8, Snow Leopard, with GCC 10 or newer

Peter Dyballa via Gcc-help <[email protected]> Sun, 22 Feb 2026 13:53:55 +0100
Newsgroups gmane.comp.gcc.help
Message-ID <[email protected]>
> Am 22.02.2026 um 13:31 schrieb Iain Sandoe <[email protected]>:
> 
> Good luck, I have built it in the past on Darwin9 and 10 (MacOSX 10.5 and 10.6) but not any recent version.

I think on modern systems building will be dead simple:

	• get the sources via rsync -a --delete --exclude=.svn tug.org::tldevsrc/Build/source/ /your/dir/
	• invoke "env TL_MAKE_FLAGS=-j8 CC=gcc-mp-14 CFLAGS="-O0 -static-libgcc -L/usr/lib -Wl,-dead_strip -Wl,-t -Wl,-v" CXX=g++-mp-14 CXXFLAGS="-stdlib=libstdc++ -static-libstdc++" ./Build --enable-xindy --disable-web2c" from "/your/dir/"
	• and lean back (but not too far away, with ¼ hour build will have finished)

A description is here: https://tug.org/texlive/build.html, later in "/your/dir/" you will find some README files that give additional hints for particular systems.

On my Snow Leopard a "TeX profiler" does not build of unknown reasons, therefore "--disable-web2c". (Wouldn't Palantir be a better choice to catch TeX criminals?)


In a few days I'll have a test system, that with a pristine Snow Leopard installation. (And cloning it I can get Lion and so.) External USB disks seem to be accepted as boot volumes on my hardware.

--
Greetings

  Pete

A blizzard is when it snows sideways.