python / cpython

The Python programming language
https://www.python.org/
Other
59.68k stars 28.93k forks source link

Add support for frameworks and objective-c source. Uesful for both GnuStep and for OSXS/OSX/Darwin. #33467

Closed ebd80758-eb43-4a34-86bb-a2b2a2196e69 closed 23 years ago

ebd80758-eb43-4a34-86bb-a2b2a2196e69 commented 23 years ago
BPO 402357
Nosy @gvanrossum
Files
  • None: None
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields: ```python assignee = 'https://github.com/gvanrossum' closed_at = created_at = labels = ['build'] title = 'Add support for frameworks and objective-c source. Uesful for both GnuStep and for OSXS/OSX/Darwin.' updated_at = user = 'https://bugs.python.org/bbum' ``` bugs.python.org fields: ```python activity = actor = 'gvanrossum' assignee = 'gvanrossum' closed = True closed_date = None closer = None components = ['Build'] creation = creator = 'bbum' dependencies = [] files = ['2918'] hgrepos = [] issue_num = 402357 keywords = ['patch'] message_count = 4.0 messages = ['34791', '34792', '34793', '34794'] nosy_count = 2.0 nosy_names = ['gvanrossum', 'bbum'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue402357' versions = [] ```

    ebd80758-eb43-4a34-86bb-a2b2a2196e69 commented 23 years ago
    gvanrossum commented 23 years ago

    Applied.

    Again, somehow the line numbers in your diff were broken!

    I've changed $(CCC) to $(CXX) since that is now the name of the C++ compiler. If this wasn't what you intended, please get in touch.

    ebd80758-eb43-4a34-86bb-a2b2a2196e69 commented 23 years ago

    Logged In: YES user_id=103811

    It should use the normal CC referenced compiler as ObjC is integrated directly into gcc and enabled through the use of the -ObjC flag.

    Index: makesetup \=================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/makesetup,v retrieving revision 1.34 diff -r1.34 makesetup 207c207 < *.m) obj=basename $src .m.o; cc='$(CXX)';; # Obj-C ---

          *.m)   obj=`basename $src .m`.o; cc='$(CC)';; # Obj-C

    Thank you.

    gvanrossum commented 23 years ago

    Logged In: YES user_id=6380

    OK, applied. Closing now.

    (Hey, did SF reopen it automatically as a result of you adding a comment? Neat!)