On 4/5/2013 1:18 PM, Stefan Bruda wrote:
> Hello,
>
> Now that GCC 4.8 is out I am wondering whether it is safe to move my
> Fink installation from the gcc47 package to the latest and greatest.
> It should be a matter of uninstalling gcc47, gcc47-compiler, and
> gcc47-shlibs and installing the corresponding gcc48* packages, right?
>
> Actually now that I wrote the above I realize that gcc47-shlibs are
> likely needed for those packages compiled with GCC 4.7, would
> rebuilding those do?  Is there anything else I should be aware of?

Fink packages that use gcc4x are designed to use a specific gcc4x 
version when building and will ask to install that if it's not present. 
  The gcc4x packages are designed to swap with each other when needed. 
The gcc4x-compiler and -shlibs packages can happily coexist.  Anything 
that was built with gcc47 most likely will still need gcc47-shlibs. 
Installing gcc48 and rebuilding package XYZ will not do anything because 
the package would still look for gcc47 upon rebuild.  *Updating* the 
package to use gcc48 should of course work and is up to the maintainer 
(or your personal modifications in your local tree).

If you need gcc4x for building things outside of Fink, gcc48 is 
supposedly faster and uses less memory.

Remember that Fink primarily uses the system compiler (clang on 10.7+, 
gcc4.0/4.2 on 10.5/6), so having either Fink gcc4x package around will 
have no effect on the vast majority of your Fink tree.

Hanspeter


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to