-
Notifications
You must be signed in to change notification settings - Fork 50
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
Using gn
on MacOS without depending on Xcode
#5
Comments
The CommandLineTools SDK is :
Who can help me ? |
@skeyboy I have no idea about clang toolchain, but at least it is probably worth trying to get rid of |
I can't reproduce that, even with exactly the same SDKs installed. Are you sure your environment is set up correctly? A quick search shows that this error is usually caused by mismatching compiler / linker and SDK versions. What's the output of Also, this issue is originally for something else.
It's an interesting idea but I unfortunately don't have the time to work on this. |
@timniederhausen That was a while ago, I don’t remember specifics, unfortunately. I found a way to build V8 with CMake, and kinda fixed the build for ppc, but the source needs some fixes to assembler code, I think, I had weird linking errors when tried to use the resulting library. It got stalled at that. I know when it got completely broken in upstream, but the problem is that we do not know if it ever worked at all: the early port was for AIX and ages ago, that code is not really usable now, sources changed too much, Darwin was always broken, for Linux there was an attempt to fix it, but half-merged and dropped. From the publicly available patches I think it could not have worked on |
@timniederhausen This is not an issue as such, since it is probably implemented already, just I am not aware of how to do that: could you say if it is possible to bypass Xcode altogether for builds on Darwin? I.e. use normal toolchain: compiler, binutils etc. (Without patching out every mention from sources manually.)
For the context, I wanna build
v8
for Darwin ppc, and Xcode is archaic there (Apple’s support policy…), while all needed tools as such are supported in recent versions. Also, generally speaking, I would prefer not to depend on Xcode on currently supported archs either.Following a standard procedure the build fails immediately, not finding Xcode-specific includes.
The text was updated successfully, but these errors were encountered: