Search Criteria
Package Details: apple-darwin-osxcross 325.16efae8-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/apple-darwin-osxcross.git (read-only, click to copy) |
---|---|
Package Base: | apple-darwin-osxcross |
Description: | OS X cross toolchain for Linux, FreeBSD and NetBSD |
Upstream URL: | https://github.com/tpoechtrager/osxcross |
Licenses: | MIT |
Conflicts: | osxcross |
Provides: | osxcross |
Submitter: | Martchus |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 4 |
Popularity: | 0.000000 |
First Submitted: | 2017-08-09 20:29 (UTC) |
Last Updated: | 2019-08-05 19:32 (UTC) |
Dependencies (10)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libc++ (libc++-msanAUR, libc++-modulesAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (optional) – Use Clang (rather than GCC)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (optional) – Link Time Optimization support and ld64 -bitcode_bundle support
- uuidAUR (optional) – ld64 -random_uuid support
- xarAUR (xar-tpoechtrage-gitAUR, osxcross-gitAUR) (optional) – ld64 -bitcode_bundle support
Latest Comments
1 2 Next › Last »
Martchus commented on 2024-11-07 17:26 (UTC) (edited on 2024-11-07 17:27 (UTC) by Martchus)
And after setting up a LLVM/lld/clang/libc++ based cross-toolchain plus additional packaging for the Windows/ARM target I kind of doubt that we need osxcross at all. What prevents one from simply downloading the SDK from somewhere (which one needs to do anyway) and then setting up wrappers for clang and other tooling to pass the correct flags for targeting MacOS? It worked for Windows. We'd also had to build the compiler runtime and libc++ but that shouldn't be a big deal. (I suppose on MacOS one is supposed to link against the system provided libc++ so I suppose we'd only build it for the sake of header files.)
Martchus commented on 2024-11-07 17:21 (UTC)
Don't expect any help from me at this point. I can incorporate changes if you can come up with concrete fixes or leave the package to a different maintainer if that's wanted.
mirsella commented on 2024-11-07 14:50 (UTC)
hello
Martchus commented on 2024-10-15 12:57 (UTC) (edited on 2024-10-15 12:58 (UTC) by Martchus)
At this point libc++ is simply an official package. So of course you won't run into that build error anymore.
I'm currently focusing on Android and Windows/ARM cross packaging. So this package is not really updated anymore. If someone can share an updated version of this package, please do so. I can make you co-maintainer if the changes make sense.
Note that it makes probably no sense to make this package depend on libc++ built for Linux. I only used that as a hack to easily get the required headers without following the recommended steps as they'd required to get an Apple developer account. I suppose I would now try to make a distinct build of libc++ for the actual cross target. I've already recently did that for Windows/ARM and it is actually not a big deal.
jaap commented on 2024-10-15 12:36 (UTC)
The build issue seems to be fixed on the current version
Martchus commented on 2020-07-02 15:11 (UTC)
@alx365
libc++
is also an AUR package.alx365 commented on 2020-07-02 04:49 (UTC)
fails to build with following message:
Martchus commented on 2019-08-05 19:58 (UTC)
I have updated this to a later commit and the MacOSX SDK 10.13. This was the latest SDK I was able to find. Updating the SDK is likely necessary to build the latest version of Qt.
I did not find any place which allows one to download XCode without Apple login. So instead of running the packaging scripts of osxcross I'm just copying over the header files from the libc++ package. I hope this breaks not everything.
Because I haven't had a good experience with it I removed the GCC build. Providing GCC as a separate package would make more sense anyways.
So far I only tested my simple c++utilities library which is using CMake and C++17. It worked quite well beside having to disable features relying on
std::filesystem
.Like in the previous version executables are located under
/opt/osxcross/bin
. Additionally, it now uses dynamic libraries so one also needs to make sureld.so
finds them. The following exports should do it:Martchus commented on 2019-08-02 21:35 (UTC) (edited on 2019-08-02 21:36 (UTC) by Martchus)
Because the package has been flagged: There are still TODOs that I haven't tackled yet: https://github.com/Martchus/PKGBUILDs/issues/44#issuecomment-351698312
But since my Syncthing Tray application saw some Mac OS fixes lately I'm actually looking forward to proceed with that
apple-darwin
packages. It will just take a little bit more time.1 2 Next › Last »