|
|
"-fast -mcpu=7450" works on G4
On my G4, I was sucessfully able to use What do you mean about building a "dynamic version" of the lame libraries by using "-fPIC"? Apple's documentation mentioned that this will build the shared libraries with -fast, but I don't really understand. For reference, I've included the following excerpt from documentation for the "-fast" compiler option taken from Apple's gcc optimization page. This explains why I wasn't able to use "-fast" alone on my G4 because it assumes a G5. However, I don't quite understand what it says about "-fPIC" -- why do we want "position independent code" for shared libraries? -fast Optimize for maximum performance. -fast changes the overall optimization strategy of GCC in order to produce the fastest possible running code for PPC7450 and G5 architectures. By default, -fast optimizes for G5. Programs optimized for G5 will not run on PPC7450. To optimize for PPC7450, add -mcpu=7450 on command line. --- |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.06 seconds |
|