Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
How can I use GCC 4.6 on my Tiger/PPC system?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daryle Walker  
View profile  
 More options Jan 24, 8:28 pm
Newsgroups: comp.sys.mac.programmer.help
From: Daryle Walker <dary...@gmail.com>
Date: Tue, 24 Jan 2012 17:28:19 -0800 (PST)
Local: Tues, Jan 24 2012 8:28 pm
Subject: How can I use GCC 4.6 on my Tiger/PPC system?
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?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nospam  
View profile  
 More options Jan 24, 8:38 pm
Newsgroups: comp.sys.mac.programmer.help
From: nospam <nos...@nospam.invalid>
Date: Tue, 24 Jan 2012 17:38:34 -0800
Local: Tues, Jan 24 2012 8:38 pm
Subject: Re: How can I use GCC 4.6 on my Tiger/PPC system?
In article
<31014624.702.1327454899075.JavaMail.geo-discussion-forums@vbuf18>,

Daryle Walker <dary...@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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daryle Walker  
View profile  
 More options Jan 29, 2:39 am
Newsgroups: comp.sys.mac.programmer.help
From: Daryle Walker <dary...@gmail.com>
Date: Sat, 28 Jan 2012 23:39:39 -0800 (PST)
Local: Sun, Jan 29 2012 2:39 am
Subject: Re: How can I use GCC 4.6 on my Tiger/PPC system?
I already have the version of Apple's XCode appropriate for my system.  I deliberately ALSO want to use the latest GCC to try out C++11.

Daryle W.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »