Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.programmer.help > #105

Re: How can I use GCC 4.6 on my Tiger/PPC system?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From nospam <nospam@nospam.invalid>
Newsgroups comp.sys.mac.programmer.help
Subject Re: How can I use GCC 4.6 on my Tiger/PPC system?
Date Tue, 24 Jan 2012 17:38:34 -0800
Organization A noiseless patient Spider
Lines 22
Message-ID <240120121738349040%nospam@nospam.invalid> (permalink)
References <31014624.702.1327454899075.JavaMail.geo-discussion-forums@vbuf18>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
Injection-Info mx04.eternal-september.org; posting-host="12bR4NLqpsoWmF05Y7k3wg"; logging-data="9213"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+l3xcuTjnjmavzQeeBt/BQ"
User-Agent Thoth/1.8.3 (Carbon/OS X)
Cancel-Lock sha1:dBziaAzwf+G8p5MD7sD8NPSzfi0=
Xref x330-a1.tempe.blueboxinc.net comp.sys.mac.programmer.help:105

Show key headers only | View raw


In article
<31014624.702.1327454899075.JavaMail.geo-discussion-forums@vbuf18>,
Daryle Walker <darylew@gmail.com> wrote:

> I have a August-2002 eMac, a PowerPC G4 system running on Tiger (10.4).  I've
> installed GCC 4.6 on it from MacPorts.  I'm able to compile a "Hello World"
> program from a single file.  However, I just tried making a multi-part
> program and it failed.  The catch is that I didn't let GCC-4.6 do the
> linking; I'm using Boost and its custom Jam, and its steps show that it's
> choking on "/usr/bin/ld: unknown flag: --start-group" while building the
> final product.  (Each source file compiles to an object file just fine.)  I
> guess it's using the built-in linker that Apple supplies, so a Darwin-style
> linker can't process non-Darwin object files.  Is there some sort of
> compatible linker I can download (from MacPorts)?  Or somehow set GCC-4.6 to
> do all the linking?

install apple's xcode, which you can download from apple's developer
site (free to sign up). it will install everything you need (and quite
a bit more).

be sure to get the version that works with tiger, as the current one
will not.

Back to comp.sys.mac.programmer.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How can I use GCC 4.6 on my Tiger/PPC system? Daryle Walker <darylew@gmail.com> - 2012-01-24 17:28 -0800
  Re: How can I use GCC 4.6 on my Tiger/PPC system? nospam <nospam@nospam.invalid> - 2012-01-24 17:38 -0800
    Re: How can I use GCC 4.6 on my Tiger/PPC system? Daryle Walker <darylew@gmail.com> - 2012-01-28 23:39 -0800

csiph-web