Martin,
    Regarding your question about how to get gfortran to accept the -arch 
option,
it can't. That is an enhancement that Apple added to their gcc which wasn't 
(and is unlikely
to ever be) ported to FSF gcc. The approach FSF gcc uses (which we have 
supported since
I assumed maintainership) is a 64-bit (for powerpc/i386) or 32-bit (for x86_64) 
multilib.
If you build gcc44 under x86_64, it is built as a x86_64 native compiler (which 
executes
and generates 64-bit code as the default). If you want to generate 32-bit code 
with this
compiler, you pass it -m32 just like our compiler wrappers do with the Snow 
Leopard compilers.
Keep in mind that if you have been explicitly linking to -lgfortran using 
-L%p/lib/gcc44/lib
this will have to be changed to -L%p/lib/gcc4.4/lib/i386. Likewise, if you are 
on i386 fink
and want to generate 64-bit code you will pass -m64 and use 
-L%p/lib/gcc4.4/lib/x86_64 if
you are explicitly linking.
          Jack

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to