Redistributable binaries for 10.5 or 10.6 from C++11 sources

2018-01-12 Thread Mojca Miklavec
Hi. I would like to build and distribute some poppler-based command-line utilities (I would compile them with compiler from MacPorts, but distribute it to users with MacPorts). I could use either gcc or clang, but what are the options to make that work for 10.5/10.6? Can libc++ or libstdc++ be li

Re: Redistributable binaries for 10.5 or 10.6 from C++11 sources

2018-01-13 Thread Ken Cunningham
I know it can be done. TenFourFox does it. It builds with Macports infrastructure, required parts to support c++11 are moved into the application bundle, and there are scripts that appear to update the install names as you describe. There is a description in the "building tenfourfox" page.

Re: Redistributable binaries for 10.5 or 10.6 from C++11 sources

2018-01-14 Thread Mojca Miklavec
On 13 January 2018 at 18:03, Ken Cunningham wrote: > I know it can be done. TenFourFox does it. It builds with Macports > infrastructure, required parts to support c++11 are moved into the > application bundle, and there are scripts that appear to update the install > names as you describe. There i

Re: Redistributable binaries for 10.5 or 10.6 from C++11 sources

2018-01-14 Thread Ken Cunningham
On 2018-01-14, at 12:33 PM, Mojca Miklavec wrote: > On 13 January 2018 at 18:03, Ken Cunningham wrote: >> I know it can be done. TenFourFox does it. It builds with Macports >> infrastructure, required parts to support c++11 are moved into the >> application bundle, and there are scripts that appe

Re: Redistributable binaries for 10.5 or 10.6 from C++11 sources

2018-01-15 Thread Ken Cunningham
On 2018-01-14, at 12:33 PM, Mojca Miklavec wrote: > > I used to build for 10.6/x86_64, 10.6/i386 & ppc on the same 64-bit > Snow Leopard VM. Doing C++11 cross-compilations for PPC is likely to > be mission impossible, so I'll need to find a proper PPC, but let's > see if I can get it working nati