Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libstdc++ SDK 10.9 or 10.13 #442

Open
efa opened this issue Dec 30, 2024 · 5 comments
Open

libstdc++ SDK 10.9 or 10.13 #442

efa opened this issue Dec 30, 2024 · 5 comments

Comments

@efa
Copy link
Contributor

efa commented Dec 30, 2024

the readme:
https://github.com/tpoechtrager/osxcross#deployment-target
say:
>= 10.9 also defaults to libc++ instead of libstdc++

while build.sh:
https://github.com/tpoechtrager/osxcross/blob/master/build.sh#L406
say:
Use <= 10.13 SDK if you rely on libstdc++ support

@efa
Copy link
Contributor Author

efa commented Dec 30, 2024

also from readme:
https://github.com/tpoechtrager/osxcross#deployment-target
seems that default deployment target can be only:
SDK <= 10.13: macOS 10.6
SDK >= 10.14: macOS 10.9
but from current build.sh:
https://github.com/tpoechtrager/osxcross/blob/master/build.sh#L31
I saw can be:
SDK >= 14: macOS 10.13

While seems confirmed that last version that can build for 32 bit is:
SDK 10.13*) TARGET=darwin17

@HinTak
Copy link

HinTak commented Dec 30, 2024

FWIW, "default" means alternatives are available (but not the default). I don't really understand what's the issue. There is a "default", and there are "alternarives" different from the default if you set some options with command flags, etc.

@efa
Copy link
Contributor Author

efa commented Dec 30, 2024

readme and build.sh report different default information.
For clarity it would be very helpful to align readme with the latest build.sh (if it is the most up to date)

@HinTak
Copy link

HinTak commented Dec 30, 2024

There is git history, likely readme is behind - the build script is authoritative. The readme probably means "you can get the non-defaults if you use a different branch, or go back in history and use an earlier version of this". I am still not sure what is the issue... you can expand the readme yourself if you think it is unclear/incorrect...

@efa
Copy link
Contributor Author

efa commented Dec 30, 2024

about default deployment target I also think that build.sh is authoritative and you confirmed that.

About defaulting to libc++ instead of libstdc++, I think that readme is right and can be as issue in build.sh
https://github.com/tpoechtrager/osxcross/blob/master/build.sh#L406
Do you confirm that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants