gcc 4.0 on MacOS X 10.3?
by hub, Thursday 14 September 2006 at 01:01 :: MacOS X :: #452 :: rss
Dear Lazyweb,
I need something more recent and less broken than gcc-3.3 on MacOS X 10.3.9[1]. Apple is (un-)kind enough to no provide updated compiler. Their latest development tools always need the latest OS. I don't care of the bells and whistles, all I need is a C++ compiler (with Objective-C++ support).
So let's start being hardcore.
From the DevToolsAugust2006 release, I downloaded gcc-5363 that contains gcc-4.0.1. It did build fine (almost). I actually need to re-run the install using sudo prior really installing. See the README.Apple.
Then I grabbed gcc_select-58 to select gcc-4 as a default. Worked fine.
But I'm missing the libstdc++. That is where I'm lost. There is libstdcxx-11 and libstdcxx_SUPanWheat-10. Both fail as they insist on configuring for Darwin 8 (10.4). WTF? I found no way to override that.
Anybody has a clue?
Update 09/15: I found out how to build it, but I just discovered that I needed a new linker because once again Apple decided to change the command-line options of the linker, like they changed XCode at each and every release. Off course the linker does not build on a stock 10.3.9 as it miss some headers. *sigh*
Notes
[1] no, don't tell me to install 10.4 it is not an option

Comments
Thursday 14 September 2006 02:10, by Happy :: #
Thursday 14 September 2006 02:35, by jonathan :: site :: #
Thursday 14 September 2006 03:29, by fff :: #
Thursday 14 September 2006 03:45, by maxx_730 :: #
Thursday 14 September 2006 05:14, by Stoffe :: #
Thursday 14 September 2006 06:40, by Andrew Kerr :: #
Thursday 14 September 2006 09:08, by hub :: #
Friday 15 September 2006 15:13, by vasi :: #
Friday 15 September 2006 16:13, by hub :: #
Post a comment
Comments are closed.