On Dec 11, 2007, at 10:47, Jack Howarth wrote:
Can you give me some advice on how to modify the current fink cvs code to default over to the Apple gcc 4.2 compilers? Apple has named them gcc-4.2 and g++-4.2 so they don't collide with our gcc packages. I would like to stress test these compilers in the next few weeks.
From a cursory inspection, it looks like Fink just takes the system's default. Leopard doesn't have gcc_select, so use the attached with_gcc script. A la sudo, prefix any command you want to execute with "with_gcc" and it'll execute it in an environment in which not only does "gcc" point to 4.2, but gcc-4.0 does. For instance:
[Tue Dec 11 22:36:11 [EMAIL PROTECTED] gcc -v ... gcc version 4.0.1 (Apple Inc. build 5465) [Tue Dec 11 22:36:14 [EMAIL PROTECTED] ./with-gcc42 gcc -v ... gcc version 4.2.1 (Apple Inc. build 5531) [Tue Dec 11 22:36:17 [EMAIL PROTECTED] ./with-gcc42 gcc-4.0 -v ... gcc version 4.2.1 (Apple Inc. build 5531)If you have the machine cycles to spare, buildfink is of course a great way to test this sort of thing.
with-gcc42
Description: Binary data
------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
_______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
