[MacPorts] #21434: NcursesW will not build universal -- solution

MacPorts noreply at macports.org
Wed Sep 16 17:45:37 PDT 2009


#21434: NcursesW will not build universal -- solution
----------------------------------------------+-----------------------------
 Reporter:  michael-macports@…                |       Owner:  macports-tickets@…                   
     Type:  defect                            |      Status:  new                                  
 Priority:  Normal                            |   Milestone:                                       
Component:  ports                             |     Version:  1.8.0                                
 Keywords:                                    |        Port:  ncursesw                             
----------------------------------------------+-----------------------------
 Ncursesw will not build universal.

 On a PPC machine, building i386, you need the following:

 Nope, turns out it needs CFLAGS='-arch i386' CXXFLAGS='-arch i386'

 To clarify: The old build was specifying the cross compiler flags
 correctly, but was NOT specifying the build arch. Hence, the cross
 compiler test did not come out correct, and the program does not
 build.

 ===
 This might not solve the issue for building universal on x86. The build
 script assumes that if you can run an executable produced by the compiler,
 then it is not a cross compile. I know x86 can run ppc applications; I
 don't know if they can run ppc unix programs.

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


More information about the macports-tickets mailing list