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

static libc++ build for macOS #10

Open
rageworx opened this issue Mar 14, 2023 · 2 comments
Open

static libc++ build for macOS #10

rageworx opened this issue Mar 14, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@rageworx
Copy link
Owner

There's reference of /usr/lib/libc++.dylib dependency makes brew install required Xcode console.
Try to solve this issue.

@rageworx rageworx added the enhancement New feature or request label Mar 14, 2023
@rageworx rageworx self-assigned this Mar 14, 2023
@rageworx
Copy link
Owner Author

Seems to macOS clang don't allow static libc++.
Is there anyway to embedding libc++ ? Or don't need to do ?
homebrew tap installation requires Xcode, why ? by /usr/lib/libc++.dylib ? Need to check what dependency requires Xcode installation when brew-installation.

@rageworx
Copy link
Owner Author

Mostly Linux static libgcc and libg++ looking for these common libraries,

> ldd bin/listusb
        linux-vdso.so.1 (0x0000007f88215000)
        libudev.so.1 => /lib/aarch64-linux-gnu/libudev.so.1 (0x0000007f880ae000)
        libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f88082000)
        libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f87fd7000)
        libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f87fb5000)
        libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f87e6b000)

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

No branches or pull requests

1 participant