[MacPorts] #24923: RFE: Allow atlas to build universal

MacPorts noreply at macports.org
Mon May 17 06:25:22 PDT 2010


#24923: RFE: Allow atlas to build universal
-----------------------------------+----------------------------------------
 Reporter:  mcalhoun@…             |       Owner:  jameskyle@…           
     Type:  enhancement            |      Status:  new                   
 Priority:  Normal                 |   Milestone:                        
Component:  ports                  |     Version:  1.8.2                 
 Keywords:  atlas universal        |        Port:  atlas                 
-----------------------------------+----------------------------------------

Comment(by vince@…):

 Ok, I know this. What reports otool -L ${prefix}/lib/libptf77blas in your
 case? Here is mine:

 {{{

 otool -arch i386 -L libptf77blas.dylib
 libptf77blas.dylib:
         /usr/pkg/lib/libptf77blas.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /usr/pkg/lib/gcc45/i386/libgfortran.3.dylib (compatibility version
 4.0.0, current version 4.0.0)
         /usr/pkg/lib/libatlas.dylib (compatibility version 0.0.0, current
 version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 125.2.0)

 otool -arch x86_64 -L libptf77blas.dylib
 libptf77blas.dylib:
         /usr/pkg/lib/libptf77blas.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /usr/pkg/lib/gcc45/libgfortran.3.dylib (compatibility version
 4.0.0, current version 4.0.0)
         /usr/pkg/lib/libatlas.dylib (compatibility version 0.0.0, current
 version 0.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 125.2.0)

 }}}

 You see that the two versions (one for i386 and one for x86_64) link to
 the appropriate version of libgfortran.dylib. But, AFAIK, these two
 libgfortran libs are not generated unless you specify --enable-multilib
 when compiling gcc (without --enable-multilib, you get the one your
 default arch requires). Is your gcc44 built universal?

-- 
Ticket URL: <http://trac.macports.org/ticket/24923#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list