that's probably the simplest solution for simple executables with no 
complicated web of supporting libraries.

I wonder if the same thing could work for Mojca's libc++ issues with her 
binaries?

Ken



On 2018-03-24, at 11:20 AM, Andreas Falkenhahn wrote:

> On 24.03.2018 at 17:34 Mojca Miklavec wrote:
> 
>> Sorry about the wrong advice about stdlib. 
> 
> No worries, I've had another idea. I can just link statically
> against libgcc and libstdc++, like so:
> 
> -static-libgcc -static-libstdc++
> 
> This increases the executable size by about 1 MB but the
> resulting executable works like a charm on a naked 10.5
> system without any Mac Ports stuff... very nice!
> 
> -- 
> Best regards,
> Andreas Falkenhahn                            mailto:andr...@falkenhahn.com
> 

Reply via email to