[MacPorts] #66188: libsdl2: re-enable universal building i386/x86_64

MacPorts noreply at macports.org
Tue Nov 8 04:26:09 UTC 2022


#66188: libsdl2: re-enable universal building i386/x86_64
----------------------+----------------------
  Reporter:  kencu    |      Owner:  jmroot
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  libsdl2  |
----------------------+----------------------

Comment (by kencu):

 clang-1100 allows it:

 {{{
 $ /usr/bin/clang -v
 Apple clang version 11.0.0 (clang-1100.0.33.17)
 Target: x86_64-apple-darwin18.7.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

 $ /usr/bin/clang -isysroot /Library/Developer/SDKs/MacOSX10.13.sdk -arch
 i386 -fobjc-arc writeback.m

 $ ./a.out
 2022-11-07 20:24:33.489 a.out[5851:549240] Object: <NSObject: 0x7a04c3e0>
 2022-11-07 20:24:33.490 a.out[5851:549240] Object: <NSObject: 0x7a04c3e0>
 2022-11-07 20:24:33.490 a.out[5851:549240] Object: (null)
 }}}

 so somewhere in between those.

-- 
Ticket URL: <https://trac.macports.org/ticket/66188#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list