[MacPorts] #24577: i386-elf-gcc configure error with build_arch i386

MacPorts noreply at macports.org
Wed May 26 17:23:21 PDT 2010


#24577: i386-elf-gcc configure error with build_arch i386
-------------------------------------+--------------------------------------
 Reporter:  orphen.leiliu@…          |       Owner:  stepan@…             
     Type:  defect                   |      Status:  new                  
 Priority:  Normal                   |   Milestone:                       
Component:  ports                    |     Version:  1.8.2                
 Keywords:                           |        Port:  i386-elf-gcc         
-------------------------------------+--------------------------------------

Comment(by vinc17@…):

 Replying to [comment:4 stepan@…]:
 >                 # For some weird reason, 10.5 autodetects an ABI=64
 though
 >                 # so we're setting the ABI explicitly here.

 It is well known that GMP doesn't necessarily use the default ABI. The
 reason is that it is generally faster. But I think that's a bad reason
 since this yields compatibility problems with other installed software.

 > Then, MPFR needs to be compiled with GMP's CFLAGS:
 >
 > {{{
 > # Now set CFLAGS to match GMP CFLAGS.
 > HOSTCFLAGS=`grep __GMP_CFLAGS $DESTDIR$TARGETDIR/include/gmp.h |cut -d\"
 -f2`

 This shouldn't be necessary: the MPFR configure script uses the GMP CFLAGS
 by default. If for some reason, the MPFR autodetection of CFLAGS doesn't
 work, I'd like to know...

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


More information about the macports-tickets mailing list