How do I update libc and libstdc++ on OS X 10.5?
Asked Answered
G

0

9

I am using a Mac Mini as a build agent and I need to upgrade the standard libraries. I can't find either libc or libstdc++ on MacPorts.

Giraudoux answered 30/6, 2011 at 15:55 Comment(7)
What makes you think you need to do this ?Foretopsail
@Paul R: see the question that prompted my need to upgrade: Why isn't Darwin's strtod thread-safe?Giraudoux
If you're using MacPorts then they have gcc versions up to 4.6, which presumably includes the latest and greatest libc/libstdc++ et al?Foretopsail
Yes, I did try GCC 4.2, but that used the same libc/libstdc++ as GCC 4.0.1. I also tried GCC 4.4 and that DOES seem to have an updated libc/libstdc++ but it's evidently not new enough because I still got strtod bus errors. I didn't try GCC 4.6 - even if it worked I don't want my project to require that new of a toolset to work!Giraudoux
Well you could always split the difference and try gcc 4.5 (4.5.3 is on MacPorts).Foretopsail
Did you try the method stated here: trac.macports.org/wiki/LibcxxOnOlderSystemsGratulate
If this can help you. lists.macports.org/pipermail/macports-dev/2015-January/…Glasses

© 2022 - 2024 — McMap. All rights reserved.