Changes between Initial Version and Version 1 of Ticket #50578


Ignore:
Timestamp:
Feb 12, 2016, 4:55:59 PM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Replying to citibob@…:

I want to compile the main part of Python in GCC (because my C++ / Fortran Cython modules use GCC).

As far as I know, MacPorts python ports don't provide a way to do that.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50578

    • Property Owner changed from macports-tickets@… to jwa@…
  • Ticket #50578 – Description

    initial v1  
    33I tried to build Python (via MacPorts) using Clang for Objective-C and GCC for C/C++.  The environment upon running ./configure included:
    44
     5{{{
    56  CC='/Users/rpfische/macports/mpgompi-4.9.3/bin/gcc-mp-4.9'
    67  CXX='/Users/rpfische/macports/mpgompi-4.9.3/bin/gcc-mp-4.9'
    78  OBJC='/usr/bin/clang'
    89  OBJCXX='/usr/bin/clang++'
     10}}}
    911
    1012HOWEVER... the build still tried to use GCC to compile Objective-C, and failed miserably:
    1113
    1214
    13 
     15{{{
    1416:info:destroot /Users/rpfische/macports/mpgompi-4.9.3/bin/gcc-mp-4.9 -pipe -Os -arch x86_64 -Wno-unused-result -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -o FileSettings.o -c ./FileSettings.m
    1517:info:destroot /usr/include/objc/NSObject.h:22:4: error: unknown type name 'instancetype'
     
    1719:info:destroot     ^
    1820...
    19 
     21}}}
    2022
    2123