Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Daryle Walker Newsgroups: comp.sys.mac.programmer.help Subject: How can I use GCC 4.6 on my Tiger/PPC system? Date: Tue, 24 Jan 2012 17:28:19 -0800 (PST) Organization: http://groups.google.com Lines: 11 Message-ID: <31014624.702.1327454899075.JavaMail.geo-discussion-forums@vbuf18> Reply-To: comp.sys.mac.programmer.help@googlegroups.com NNTP-Posting-Host: 99.124.188.253 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1327455268 11696 127.0.0.1 (25 Jan 2012 01:34:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 25 Jan 2012 01:34:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=99.124.188.253; posting-account=JFlz9AoAAAA7P2J6PBUwdI_XOU9CM4_A User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.sys.mac.programmer.help:104 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 Wor= ld" 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 linki= ng; I'm using Boost and its custom Jam, and its steps show that it's chokin= g on "/usr/bin/ld: unknown flag: --start-group" while building the final pr= oduct. (Each source file compiles to an object file just fine.) I guess i= t'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 l= inker I can download (from MacPorts)? Or somehow set GCC-4.6 to do all the= linking?