From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GCC 4.8.0 for Mac OS X Date: Wed, 19 Jun 2013 08:26:24 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="b69de8604a6c4b9f4a8de618679474df"; logging-data="15978"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jAoJY4VE0grE6t7Mq/i9ZrwluwEcFCBc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:FnM88hkK1SHfrjo9hOb7WnKgOOs= sha1:KHdVpjGYemc8lGay7W3zSlAiL7E= X-Original-Bytes: 1769 Xref: number.nntp.dca.giganews.com comp.lang.ada:181938 Date: 2013-06-19T08:26:24+01:00 List-Id: paulohsantosol@gmail.com writes: > I didn't get it, could you be more especific in the installation when > you say: > > $ cd / > $ sudo tar jxvf ~/Downloads/gcc-4.8.0-x86_64-apple-darwin12.tar.bz2 > > and put /opt/gcc-4.8.0/bin first on your PATH. > > I didn't understand the last line. What do I have to put in the bin > directory after I created it? Here, the first Google hit on searching for 'set path mac os x mountain lion' was [1], which I'm sure will work. I use a different technique, which has the strong disadvantage of only working in Terminal windows (but I'm used to it): edit ~/.bash_profile_common, at the end put PATH=/opt/gcc-4.8.0/bin:$PATH and close/re-open all Terminal windows. [1] http://architectryan.com/2012/10/02/add-to-the-path-on-mac-os-x-mountain-lion/